Last active
August 29, 2015 14:04
-
-
Save AmitThakur/8718edd8e42da892d951 to your computer and use it in GitHub Desktop.
Editsworld
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<reg51.h> | |
void main() | |
{ | |
char mybit; | |
TMOD=0x20; | |
TH1=0xFD; | |
TR1=1; | |
SCON=0x50; | |
while(1) { | |
P2=SBUF; | |
while(RI==0); | |
RI=0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment