Posts

CODES

  Experiment No.1 LED FLASHING   #include<reg51.h> #define Del 3000 sfr LED_PORT2=0xA0;           void delay(unsigned int x)             {      unsigned int i,j;      for(i=0;i<=x;i++)             for(j=0;j<=100;j++);                      }   void main(void) {      while(1)                               {                 LED_PORT2=0xff;               ...