LCD_CHAR_16x2 Freescale FRDM KL25Z
Embed:
(wiki syntax)
Show/hide line numbers
main.cpp
00001 // Hello World! for the TextLCD 00002 00003 #include "mbed.h" 00004 #include "TextLCD.h" 00005 00006 TextLCD lcd(PTD1, PTD3, PTD2, PTD0, PTD5, PTA13); // rs, e, d4-d7 00007 00008 int main() { 00009 lcd.printf("Hi i'm Freescale\n"); 00010 lcd.locate(1, 5); 00011 lcd.printf(" FRDM-kl25z\n"); 00012 }
Generated on Sat Jul 16 2022 15:50:57 by
1.7.2