Tadao Iida / Mbed 2 deprecated LCD_chara

Dependencies:   TextLCD mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "TextLCD.h"
00003 
00004 TextLCD lcd(p24, p26, p27, p28, p29, p30);
00005 
00006 
00007 int main() {
00008     lcd.cls();
00009 
00010     lcd.locate(3,0);
00011     lcd.printf("Eleki Jack!");
00012 
00013     lcd.locate(5,1);
00014     lcd.putc(0xB4); 
00015     lcd.putc(0xDA); 
00016     lcd.putc(0xB7);  
00017     lcd.putc(0xBC); 
00018     lcd.putc(0xDE); 
00019     lcd.putc(0xAC); 
00020     lcd.putc(0xAF); 
00021     lcd.putc(0xB8); 
00022     lcd.putc(0x21); 
00023 }
00024 
00025