This file contains hidden or 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> | |
| #define lcd P3 | |
| #define dat P2 | |
| sbit rs=P1^6; | |
| sbit e=P1^7; | |
| void delay (int); | |
| void display (unsigned char); | |
| void cmd (unsigned char); |