2018/3/9 s240メインプログラム用
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 + } +}