8051

8051 rotating LEDs examples

Again using the ARm + 8051 development board Example 1 #include<reg52.h> void Delay(unsigned int t); void main (void) { unsigned char i; Delay(50000); P2=0x7f; while (1) { for(i=0;i<8;i++) { Delay(50000);…

Read more