Takeshi Ueno
/
LCDmerryChristmas
Test with Akizuki LCD module http://akizukidenshi.com/catalog/g/gP-00040/
Revision 0:18862a969586, committed 2009-11-29
- Comitter:
- utaani
- Date:
- Sun Nov 29 08:28:08 2009 +0000
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Nov 29 08:28:08 2009 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd(p24, p25, p26, p27, p28, p29, p30); +// rs, rw, e, d0, d1, d2, d3 +// mbed Akiduki LCD (http://akizukidenshi.com/catalog/g/gP-00040/) +// 39(USB5V)-01(Vdd)---V---+ +// 01(GND)---02(Vss)---R---+ +// 03(Vo)--common+ +// 24(p24)---04(RS) +// 25(p25)---05(R/W) +// 26(p26)---06(E) +// 27(p27)---11(DB4) +// 28(p28)---12(DB5) +// 29(p29)---13(DB6) +// 30(p30)---14(DB7) + +// + +int main() { + lcd.printf("Merry Christmas!"); +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Nov 29 08:28:08 2009 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/32af5db564d4