RGB LCD python test file counts up instead of down

pending
rgblcd

#1

Hi, I have a very odd thing happening with the GrovePi+ kit board, when trying to use the RGB LCD display. It starts to count down to sleep, then suddenly switches to counting up, and finally crashes when it gets to about 140. I have re-installed everything from scratch 3 times, with same result. The button, LED and other digital items test fine, and there is nothing else connected to the I2C bus. Here is the terminal screen result:

pi@rpi-grove:~/GrovePi/Software/Python/grove_rgb_lcd $ python grove_rgb_lcd.py
Traceback (most recent call last):
  File "grove_rgb_lcd.py", line 133, in <module>
    setText_norefresh("Going to sleep in {}...".format(str(c)))
  File "grove_rgb_lcd.py", line 119, in setText_norefresh
    bus.write_byte_data(DISPLAY_TEXT_ADDR,0x40,ord(c))
IOError: [Errno 121] Remote I/O error

Any help would be greatly appreciated!

Tks, AB


#2

Hi @b4b,

I’ll have this post the pending tag attached. As soon as we have some time on our hands, we’ll take a look into this code.

By the way, the GrovePi, in this case, has nothing to do with the RGB LCD display - the display works separately on the I2C bus and hence does not interfere with the GrovePi in any way.

And what’s curious is that this used to work a couple of months ago.

Thank you!