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:
- 4:bf5b706f8d32
- Parent:
- 2:227356c7d12c
- Child:
- 6:e4cb7ddee0d3
--- a/TextLCD.cpp Thu May 27 17:56:12 2010 +0000 +++ b/TextLCD.cpp Thu May 27 18:03:45 2010 +0000 @@ -126,11 +126,11 @@ return 0xd4 + column; } case LCD16x2B: - return 0x80 + (row * 0x40) + column; + return 0x80 + (row * 40) + column; case LCD16x2: case LCD20x2: default: - return 0x80 + (row * 40) + column; + return 0x80 + (row * 0x40) + column; } }