LCD_CHAR_16x2 Freescale FRDM KL25Z

Dependencies:   TextLCD mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

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 }