Last active
July 21, 2016 03:59
Revisions
-
SaheblalBagwan revised this gist
Jul 21, 2016 . 1 changed file with 7 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,12 @@ #include "lcd.h" #include "systemInit.h" int main() { SystemInit(); /*Connect RS->P1_16, RW->P1_17, EN->P1_18 and data bus(D4:D7 - P1_20:P1_23)*/ LCD_SetUp(P1_16,P1_17,P1_18,P_NC,P_NC,P_NC,P_NC,P1_20,P1_21,P1_22,P1_23); LCD_Init(4,20); LCD_DisplayString("Explore Embedded\n"); -
SaheblalBagwan created this gist
Jul 18, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ #include "lcd.h" int main() { /*Connect RS->P1_16, RW->P1_17, EN->P1_18 and data bus(D4:D7 - P1_24:P1_27)*/ LCD_SetUp(P1_16,P1_17,P1_18,P_NC,P_NC,P_NC,P_NC,P1_24,P1_25,P1_26,P1_27); LCD_Init(4,20); LCD_DisplayString("Explore Embedded\n"); LCD_DisplayString("LCD 4-bit Mode\n"); LCD_DisplayString("20 x 4 \n"); LCD_DisplayString(":) :O"); while(1); return (0); }