i2c lcd problem

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
manuel_bayer
Posts: 10
Joined: Wed Oct 16, 2013 1:55 am
Contact:

i2c lcd problem

Post by manuel_bayer »

hello,
i bought a sainsmart i2c lcd, i used the i2c lcd component in flowcode.
i connected the lcd correctly, but it does not show anything.

can i use any address in flowcode for the lcd?

greets
Attachments
i2c lcd.jpg
i2c lcd.jpg (162.43 KiB) Viewed 5771 times

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: i2c lcd problem

Post by JonnyW »

Hello. That does seem strange.

What happens if you step through the program instead of just clicking 'run' to simulate? Do you see anything change on the LCD?

Jonny

manuel_bayer
Posts: 10
Joined: Wed Oct 16, 2013 1:55 am
Contact:

Re: i2c lcd problem

Post by manuel_bayer »

no the Simulation works, but if i transfer the hex file to my atmega328p it doesnt work.
the address is set correctly and the wiring is correct too, i tried it with my own c-code and it works fine, but the flowcode generated hexfile does not work.
is the i2c lcd component not compatible with the sainsmart i2c lcd?

here a link of the i2c lcd: http://www.sainsmart.com/new-sainsmart- ... ga-r3.html

i am a little bit disappointed because i thought i could save time with flowcode, but i think it is still faster and less complicated to develop a text-based program.
maybe its my fault but i am sure my wiring and Settings are correct.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: i2c lcd problem

Post by Benj »

Hello,

I wrote the I2C LCD component around this display.
http://www.ebay.com/itm/New-Blue-IIC-I2 ... 41754f6f10

I'll have a look into this SainSmart display and let you know if it should be compatible.

manuel_bayer
Posts: 10
Joined: Wed Oct 16, 2013 1:55 am
Contact:

Re: i2c lcd problem

Post by manuel_bayer »

do you got new information?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: i2c lcd problem

Post by Benj »

Hello,

Nope it looks like the two display setups and firmware are very different. I can have a look at supporting the display as there is nice example support but doing the whole SainSmart range might be a big undertaking.

For now I would use the I2C Master component and this should allow the display to work correctly.

Post Reply