Quick question about LCD display on NP1
Started by GlenEE, Dec 03 2012 06:56 PM
3 replies to this topic
#1
Posted 03 December 2012 - 06:56 PM
Im using the Adafruit LCD shield kit on my NP1(I2C). I ran the sample code (the one that displays up, down, left, right, and toggles 0 to 1) and it works well as expected. however if i leave it running for approx. 10 hours or more i get random characters on my LCD display scrolling across. Is there a way to lock down my registers to prevent this error, or any other method that will prevent this? Thanks!
#2
Posted 03 December 2012 - 08:11 PM
Yep, use SPI. I2C is slow and glitchy with which affects LCDs. I've done extensive testing I2C vs SPI as far as the adafruit LCD shield and LCD backpack. I've never been able to run an I2C driven LCD 100% glitch free. While I haven't spend time watching and recording the signals over sustained periods of time, I believe it's due to a glitch in the clock signal. It may be possible to write some kind of a glitch filter I haven't taken the time to pursue it.
#3
Posted 03 December 2012 - 08:41 PM
Im using the Adafruit LCD shield kit on my NP1(I2C). I ran the sample code (the one that displays up, down, left, right, and toggles 0 to 1) and it works well as expected. however if i leave it running for approx. 10 hours or more i get random characters on my LCD display scrolling across. Is there a way to lock down my registers to prevent this error, or any other method that will prevent this? Thanks!
I have seen the same problem, Tried to load the program but need to update mscorlib I could not get the sample to deploy under Netduino SDK 4.2.1 with the Netduino Classic. Will try to get it running again when I get a chance.
Chuck
#4
Posted 03 December 2012 - 10:36 PM
Gotcha, Thanks for the replies
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users