Takeshi Ueno / Mbed 2 deprecated LCDmerryChristmas

Dependencies:   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, p25, p26, p27, p28, p29, p30);
00005 // rs, rw, e, d0, d1, d2, d3
00006 // mbed     Akiduki LCD (http://akizukidenshi.com/catalog/g/gP-00040/)
00007 // 39(USB5V)-01(Vdd)---V---+
00008 // 01(GND)---02(Vss)---R---+
00009 //           03(Vo)--common+
00010 // 24(p24)---04(RS)
00011 // 25(p25)---05(R/W)
00012 // 26(p26)---06(E)
00013 // 27(p27)---11(DB4)
00014 // 28(p28)---12(DB5)
00015 // 29(p29)---13(DB6)
00016 // 30(p30)---14(DB7) 
00017 
00018 // 
00019 
00020 int main() {
00021     lcd.printf("Merry Christmas!");
00022 }