Created
September 1, 2016 11:16
-
-
Save SaheblalBagwan/05cb28c2b0ee15b69bd630c498e1bcdb 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
#include "lcd.h" | |
int main() | |
{ | |
/*Connect RS->P2.0, RW->P2.1, EN->P2.2 and data bus to P2.4 to P2.7*/ | |
LCD_SetUp(P2_0,P2_1,P2_2,P_NC,P_NC,P_NC,P_NC,P2_4,P2_5,P2_6,P2_7); | |
LCD_Init(1,16); | |
LCD_DisplayString("Explore Embedded"); | |
LCD_GoToLine(1); | |
LCD_DisplayString("Lcd 4-Bit mode"); | |
while(1); | |
return (0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment