LiquidCrystal_I2C V1.0
The LiquidCrystal_I2C library is a modified version of the standard LiquidCrystal library as found on
the Arduino website.
This library is intended to be used when a parallel HD44780 compatible LCD is controlled over I2C using
a PCF8574 extender (see datasheet for details).
4 of the 8 outputs are used for LDC data lines 4 to 7.
3 outputs are used for the Enable, register-select and Read/Write lines.
The one output left can be used to control the backlight of the LCD (if available).
For backlight control some extra resistors and a pnp-type transistor are required (for details see
schematic diagram).
The PCF8574 extender is available in two versions, the PCF8574 and the PCF8574A.
The only difference between the two is the I2C base address.
The base address for the PCF8574=0x20 and the base address for the PCF8574A is 0x38.
The examples included in this zip file assume the use of an PCF8574 set for address 0x20
(A0, A1 and A3 grounded).
For compatibility reasons this library contains some aliases for functions that are known under different
names in other libraries. This should make it fairly easy to implement the library in existing sketches
without changing to much code.
Functions not supported by this library will return nothing at all and in case a return value is expected
the function will return 0.
Currently (sept. 2009) the library is tested with Arduino Duemilanove & IDE 0016.
LCD's tested:
TRI-T CG046-3007 A00 (2 x 16 with 20mA backlight)
Sure DE-LM220 (4 x 20 with 10mA backlight)
Update:
User submitted compatibility notifications:
AV-DISPLAY LCD 0802 (2 X 8 with LED (GREEN/K) Negative) on Duemilanove & IDE 0017. By Federico Galli
Download latest version from:
http://www.xs4all.nl/~hmario/arduino/LiquidCrystal_I2C/LiquidCrystal_I2C.zip
Mario H.
atmega@xs4all.nl
没有合适的资源?快使用搜索试试~ 我知道了~
Arduino 智能家居开发资源
共71个文件
o:43个
pde:5个
cpp:4个
需积分: 50 31 下载量 75 浏览量
2017-11-21
16:30:04
上传
评论 3
收藏 1.32MB RAR 举报
温馨提示
Arduino 智能家居开发资源,买了Arduino 智能家居开发套件,简单调试即可用
资源推荐
资源详情
资源评论
收起资源包目录
LiquidCrystal_I2C.rar (71个子文件)
LiquidCrystal_I2C
LiquidCrystal_I2C.cpp 8KB
keywords.txt 1KB
info
Schematic_diagram.jpg 192KB
PCF8574P.pdf 815KB
BC557.pdf 90KB
Image.jpg 61KB
readme.txt 2KB
examples
hello 2004
hello 2004.pde 528B
applet
wiring.c.o 9KB
HelloWorld.cpp.eep 13B
HelloWorld.cpp 477B
WMath.cpp.o 7KB
HelloWorld.cpp.elf 48KB
HardwareSerial.cpp.o 16KB
HelloWorld.cpp.o 5KB
wiring_digital.c.o 8KB
core.a 91KB
Print.cpp.o 25KB
wiring_analog.c.o 6KB
WInterrupts.c.o 5KB
Wire
Wire.cpp.o 22KB
utility
twi.c.o 16KB
wiring_pulse.c.o 6KB
LiquidCrystal_I2C
LiquidCrystal_I2C.cpp.o 41KB
utility
wiring_shift.c.o 4KB
HelloWorld.cpp.hex 9KB
pins_arduino.c.o 3KB
hello world
hello world.pde 429B
HelloWorld
HelloWorld.pde 345B
CustomChars
CustomChars.pde 1KB
applet
wiring.c.o 9KB
CustomChars.cpp.eep 13B
CustomChars.cpp.o 9KB
WMath.cpp.o 7KB
CustomChars.cpp.elf 51KB
HardwareSerial.cpp.o 16KB
wiring_digital.c.o 8KB
core.a 91KB
Print.cpp.o 25KB
wiring_analog.c.o 6KB
WInterrupts.c.o 5KB
CustomChars.cpp.hex 12KB
Wire
Wire.cpp.o 22KB
utility
twi.c.o 16KB
wiring_pulse.c.o 6KB
LiquidCrystal_I2C
LiquidCrystal_I2C.cpp.o 41KB
utility
wiring_shift.c.o 4KB
CustomChars.cpp 2KB
pins_arduino.c.o 3KB
SerialDisplay
SerialDisplay.pde 733B
applet
wiring.c.o 9KB
SerialDisplay.cpp 890B
WMath.cpp.o 7KB
SerialDisplay.cpp.o 6KB
HardwareSerial.cpp.o 16KB
SerialDisplay.cpp.hex 12KB
wiring_digital.c.o 8KB
core.a 91KB
Print.cpp.o 25KB
wiring_analog.c.o 6KB
WInterrupts.c.o 5KB
SerialDisplay.cpp.elf 56KB
SerialDisplay.cpp.eep 13B
Wire
Wire.cpp.o 22KB
utility
twi.c.o 16KB
wiring_pulse.c.o 6KB
LiquidCrystal_I2C
LiquidCrystal_I2C.cpp.o 41KB
utility
wiring_shift.c.o 4KB
pins_arduino.c.o 3KB
LiquidCrystal_I2C.h 3KB
LiquidCrystal_I2C.o 41KB
共 71 条
- 1
资源评论
xiazaiwansui
- 粉丝: 2
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功