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
i2c lcd problem
Moderator: Benj
-
- Posts: 10
- Joined: Wed Oct 16, 2013 1:55 am
- Contact:
- 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
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
What happens if you step through the program instead of just clicking 'run' to simulate? Do you see anything change on the LCD?
Jonny
-
- Posts: 10
- Joined: Wed Oct 16, 2013 1:55 am
- Contact:
Re: i2c lcd problem
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.
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.
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 10
- Joined: Wed Oct 16, 2013 1:55 am
- Contact:
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel