Last active
September 3, 2018 23:54
-
-
Save SaheblalBagwan/1d7babfd4b67463ce5cf7b4a92f2805e to your computer and use it in GitHub Desktop.
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
/* Configure the data bus and Control pins as per the hardware connection | |
Databus is connected to P2_0:P2_7 and control bus P0_0:P0_2*/ | |
#define LcdDataBus P2 | |
sbit LCD_RS = P0^0; | |
sbit LCD_RW = P0^1; | |
sbit LCD_EN = P0^2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment