8051 – Digital Output

Photo of author

By Jackson Taylor

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);
}