Hi gpat,
here is a link to a german Bascom forum
http://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=10904&highlight=i2c+lcd
with this lib (Lcd_i2c_v2.lib) you can define every PCF8574 pin .
look here:
[code:1:46679fcdc6]
Const Pcf_d4 = 4
Const Pcf_d5 = 5
Const Pcf_d6 = 6
Const Pcf_d7 = 7
Const Pcf_rs = 0
Const Pcf_rw = 1
Const Pcf_e2 = 3
Const Pcf_e1 = 2
[/code:1:46679fcdc6]
I hope this help you.
best regards
Volker
↧