• For loop
    can i use the for loop like this in accessing the 2-d array. for(u=0;u<=4;u++) { for(v=v1;;) { arr[u][v] += 1; } } bcos in the second for loop i want to do the increment in some other...
  • IDATA LOOP
    Hai all, Some times in my program I get infinite Loop..Even though I am not using infinite while loop.The program gets struck in the following loop.. IF IDATALEN <> 0 MOV R0,#IDATALEN - 1 CLR...
  • Infinite loop
    Hai all, My program goes to infinite loop even though there is no while(1); void main() { uchar8_t ISMCheckResult; CKCON=0x04; DR=1; delay(50000);//Power on delay for testing purpose enableLatch...
  • For loop...help !
    The following is the code to turn motors in the forward direction (for a robot). The problem is that the motors dont pause for the delay1() which is a 1 sec delay. Instead it goes one turning without...
  • Infinite Loop
    I am using the following code to blink a LED 10 times and then stop. But it goes on blinking even after 10 counts. please let me know where i have gone wrong in the code #include <stdio.h> #include...