
LCD_CHAR_16x2 Freescale FRDM KL25Z
Diff: main.cpp
- Revision:
- 0:a056f714557f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Jul 08 02:52:20 2014 +0000 @@ -0,0 +1,12 @@ +// Hello World! for the TextLCD + +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd(PTD1, PTD3, PTD2, PTD0, PTD5, PTA13); // rs, e, d4-d7 + +int main() { + lcd.printf("Hi i'm Freescale\n"); + lcd.locate(1, 5); + lcd.printf(" FRDM-kl25z\n"); +}