Page 1 of 1

LCD 20x4 I2C

Posted: Fri Oct 12, 2012 10:10 am
by albert-geert
Hi all

this will be my third 3 copter i have build based on the multiwii software and i must say it is an easy to use software that works like a charm.
however today i got stuck on a little programming problem, i have an lcd laying around that has an PCA8574 Remote 8-bit I/O expander.

this is the link for the tutorial code: http://www.iprototype.nl/docs/lcd20x4-I2C-BL-voorbeeld-code.rar
and here is the lib you will need to make it run: http://www.iprototype.nl/docs/lcd20x4-I2C-BL-arduino-library.rar

this link is fore the datasheet on the lcd: http://www.iprototype.nl/docs/lcd20x4-I2C-BL-datasheet-lcd.pdf
and this one is the datasheet for the PCA8574: http://www.iprototype.nl/docs/lcd20x4-I2C-BL-datasheet-pca8574.pdf

my problem is that I am not sure how to implement this lcd in to de multiwii software.
if anyone would be willing to help me out here it would be very nice :P .

Re: LCD 20x4 I2C

Posted: Fri Oct 12, 2012 10:42 am
by Hamburger
look at LCD.ino and pick one of the existing implementations to start with.
There's several i2c 2line displays supported already.

Re: LCD 20x4 I2C

Posted: Fri Oct 12, 2012 9:51 pm
by albert-geert
This is what i have you are saining buy somthing from the list or am i understanding this wrong

Re: LCD 20x4 I2C

Posted: Sat Oct 13, 2012 8:45 am
by Hamburger
I say look at existing code and learn from that how to do it for your device.