エレキジャック Web版 mbedで初めてのマイコン開発 LCDを極める!<2/5> LCDに半角カナを表示するプログラムです。簡単に半角カナを表示するTipsも紹介しています。 http://www.eleki-jack.com/arm/2010/11/mbed-lcd-1.html
Revision 0:a934bb4870fd, committed 2011-03-02
- Comitter:
- sunifu
- Date:
- Wed Mar 02 13:33:07 2011 +0000
- Commit message:
Changed in this revision
diff -r 000000000000 -r a934bb4870fd TextLCD.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Wed Mar 02 13:33:07 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
diff -r 000000000000 -r a934bb4870fd main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Mar 02 13:33:07 2011 +0000 @@ -0,0 +1,25 @@ +#include "mbed.h" +#include "TextLCD.h" + +TextLCD lcd(p24, p26, p27, p28, p29, p30); + + +int main() { + lcd.cls(); + + lcd.locate(3,0); + lcd.printf("Eleki Jack!"); + + lcd.locate(5,1); + lcd.putc(0xB4); + lcd.putc(0xDA); + lcd.putc(0xB7); + lcd.putc(0xBC); + lcd.putc(0xDE); + lcd.putc(0xAC); + lcd.putc(0xAF); + lcd.putc(0xB8); + lcd.putc(0x21); +} + +
diff -r 000000000000 -r a934bb4870fd mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Mar 02 13:33:07 2011 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912