• help!why not use Rx as loop counter?
    I have a problem. I write a function in another c source file not main file, in this function nothing do, and I declare the function as extern. In main function I invoke it 200 times. However, the compiler...
  • help!why not use Rx as loop counter?
    I have a problem. I write a function in another c source file not main file, in this function nothing do, and I declare the function as extern. In main function I invoke it 200 times. However...
  • 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;...
  • Strange problem with loop
    Hi. Ive been programing for nearly five months now so I am not a noob but I cannot understand this; for ( variable = 1 ; variable < 100 ; variable += 1 ) { // some code if ( foofar ) continue...
  • For loop problems, two deep
    In this program, I have a function where I have two for loops. Here's an example: "for (j = 0; j < 3; j++) { for (i = 0; i < 8; i++) { time = 1612 - (4 * i); wait (); } if (j < 2) {...