• Infinite loop degugging
    Hi, I have got a problem when I debug a program with uLink2 into XC164CS. When I take steps, the arrow is staying in these instructions in infinite loop. What these 3 instructions means?. Help me please...
  • 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...
  • for loop not executing
    Good Day, i am writing a code for a density based traffic light project using for loops for the density part of the system, but my for loops wont execute. the code is attached below.
  • Loop Problem
    Hello All, I have connected 3 LED's to P2_5, P2_6 and P2_7 ports of 89C52 uC and have the following code in Keil. #include <stdio.h> #include <at89x52.h> void nothing(); void main() { int i;...
  • 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...