PCF2119x based I2C LCD Library. SUNLIKE DISPLAY SCG002B (PCF2119SU/2)
Dependents: barometer-m0 PCF2119_hello
Fork of TextLCD by
I2C液晶モジュール
共立電子産業(デジット)で入手できるI2C LCDモジュールに使えるライブラリ。
中身は NXP のLCDコントローラー PCF2119SU
16文字×2行、電源:2.2~3.5V

Diff: TextLCD.cpp
- Revision:
- 7:44f34c09bd37
- Parent:
- 6:e4cb7ddee0d3
--- a/TextLCD.cpp Tue Nov 23 14:26:19 2010 +0000
+++ b/TextLCD.cpp Sat Dec 04 11:29:57 2010 +0000
@@ -23,9 +23,9 @@
#include "TextLCD.h"
#include "mbed.h"
-TextLCD::TextLCD(PinName rs, PinName e, PinName d0, PinName d1,
- PinName d2, PinName d3, LCDType type) : _rs(rs),
- _e(e), _d(d0, d1, d2, d3),
+TextLCD::TextLCD(PinName rs, PinName e, PinName d4, PinName d5,
+ PinName d6, PinName d7, LCDType type) : _rs(rs),
+ _e(e), _d(d4, d5, d6, d7),
_type(type) {
_e = 1;
Suga koubou

PCF2119x