LCD 20x4 I2C

Post Reply
albert-geert
Posts: 2
Joined: Fri Oct 12, 2012 9:51 am

LCD 20x4 I2C

Post 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 .

User avatar
Hamburger
Posts: 2582
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: LCD 20x4 I2C

Post by Hamburger »

look at LCD.ino and pick one of the existing implementations to start with.
There's several i2c 2line displays supported already.

albert-geert
Posts: 2
Joined: Fri Oct 12, 2012 9:51 am

Re: LCD 20x4 I2C

Post by albert-geert »

This is what i have you are saining buy somthing from the list or am i understanding this wrong

User avatar
Hamburger
Posts: 2582
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: LCD 20x4 I2C

Post by Hamburger »

I say look at existing code and learn from that how to do it for your device.

Post Reply