mbed TextOLED Library, for a 4-bit LCD based on Winstar WEH000000 series Originl: http://mbed.org/users/simon/libraries/TextLCD/latest 共立電子 デジット の OLEDモジュール 4bitモード用 adapted 12/3/2013 by CJS to make custom character defintions possible
Fork of TextOLED by
Diff: TextOLED.cpp
- Revision:
- 1:df8722660f48
- Parent:
- 0:4467cf9395fd
- Child:
- 2:45788bd06d4c
--- a/TextOLED.cpp Thu Jun 21 02:52:20 2012 +0000 +++ b/TextOLED.cpp Tue Jul 31 04:39:41 2012 +0000 @@ -179,3 +179,11 @@ return 2; } } + +void TextOLED::cursor (bool flg) { + if (flg) { + writeCommand(0x0F); // 0000 1 D C B + } else { + writeCommand(0x0C); // 0000 1 D C B + } +}