Jun 9, 2014

8051 - Digital Output

Compiler : MIKRO C PRO
Micro controller : AT89S52
Crystal Frequency : 11.059

1) Blinking LED on the PORT 1

void main()
{
while(1)
{
p1=0xff;;
delay_ms(100);
p1=0;
delay_ms(100);
}