i have problem with the led blinking. I using the exmaple program given by keil using uVision3. When i run the program, the LED on the development board didnt blink, it just stay on! wat should i do?
thanks!
so so i slow down the blinking timing? or what can i do to see the led blinking?
the coding: #include <REG8252.H>
void wait (void) { ; }
void main (void) { unsigned int i; unsigned char j;
while (1) { for (j=0x01; j< 0x80; j<<=1) { P0= j;
for (i = 0; i < 1000; i++) { wait (); } }
for (j=0x80; j> 0x01; j>>=1) { P0= j;
for (i = 0; i < 1000; i++) { wait (); } } } }
sorry typo error, i mean so should i slow down the timing*