#include<reg51.h> #define uint unsigned int #define uchar unsigned char sbit p0_1=P0^0; void delay(); void main() { p0_1=0; delay(); p0_1=1; delay(); } void delay() { uint x,y; for(x=100;x>0;x--) for(y=500;y>0;y--); }