Hisyam Sulaiman
/
LCDpt
lcdpt
Fork of LCD by
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 #include "mbed.h" 00002 #include "TextLCD.h" 00003 TextLCD lcd(D8, D9, D4, D5, D6, D7); // rs, e, d0, d1, d2, d3 00004 int x=0; 00005 int main() 00006 { lcd.printf("syakir"); 00007 while (1) 00008 { lcd.locate(5,1); 00009 lcd.printf("EMBEDDED"); 00010 // wait(1); 00011 // x++; 00012 } 00013 } 00014
Generated on Fri Aug 5 2022 00:52:23 by 1.7.2