Page 1 of 1
LCD (i2c) component. is this possible?
Posted: Thu Sep 29, 2016 7:43 pm
by kennethnilsen69
I'll try to explain what I want.
at the start of the program I want to auto search for i2s address and store the result in EEprom. So far all good. (here I have lcd_I2C1 as a dummy to be able to find a addreses).
Here comes the problem.
I now want to start the lcd_I2C2 component with LCD Address from eeprom. This I can not find out how to do.
is there anyone who can help me with this?
https://dl.dropboxusercontent.com/u/209 ... anner.fcfx
Re: LCD (i2c) component. is this possible?
Posted: Mon Oct 03, 2016 5:20 pm
by Benj
Hello,
I have looked at the component source, there is a SetI2CAddress macro but it had not been exposed in the component.
So I have now exposed the macro for you and you should be able to access it by copying the file below to your "Flowcode 6/Components" folder and restarting Flowcode.
The Set Address macro must be called before you call the Start macro.
Let us know how you get on.
Re: LCD (i2c) component. is this possible?
Posted: Mon Oct 03, 2016 5:27 pm
by Benj
Here is the same fix done for v7,
Re: LCD (i2c) component. is this possible?
Posted: Tue Oct 04, 2016 5:15 pm
by kennethnilsen69
Thanks Benj

this worked perfectly
Benj wrote:Hello,
I have looked at the component source, there is a SetI2CAddress macro but it had not been exposed in the component.
So I have now exposed the macro for you and you should be able to access it by copying the file below to your "Flowcode 6/Components" folder and restarting Flowcode.
lcd_I2C.fcpx
The Set Address macro must be called before you call the Start macro.
Let us know how you get on.
Re: LCD (i2c) component. is this possible?
Posted: Fri Oct 07, 2016 10:26 am
by Zalat88
Hi Benj,
I use a Flowcode 5, here I have a LCD I2C, cant find an address.
Maybe u have component file of LCD I2C to Flowcode 5.
I tried to program on Flowcode 6 but it works (show on LCD) on simulation, on hardware doesn't work.
Please help

Re: LCD (i2c) component. is this possible?
Posted: Tue Oct 11, 2016 5:12 pm
by Benj
Hello,
Have you tried other addresses than 27?