Setup
Raspberry Pi 3 running Buster connected via SSH over wireless
A high temperature sensor plugged into A0 on grovePi+, RGB-LCD plugged into I2C-2 on grovePi+…Logic analyzer connected to pins 3 and 5 (I2C) on the connector…Scope to confirm the analog voltage from the high temp sensor board verifying change with temperature…
Application Specific:
Run high_temperature_example.py [https://github.com/DexterInd/GrovePi] at command line
Python3.7 shows NO output at the command line however I do see I2C traffic…A couple I2C writes followed in perpetuity with the following read sequence [0x09, 0x00, 0x01, 0x5f] (continues forever)…What is wrong?
RGB-LCD works fine on I2C-2 PRIOR to running the above…After a Cntrl-Z to exit the above lock-up I have to remove power to get the RGB-LCD to respond. The command line spits out the following error after I have run the high_temperature_example.py, Cntrl - Z to escape then run the LCD
bus.write_byte_data(DISPLAY_RGB_ADDR, 0 , 0)
File “/usr/local/lib/python3.7/dist-packages/smbus_cffi-0.5.1-py3.7-linux-armv7l.egg/smbus/util.py”, line 59, in validator
return fn(*args, **kwdefaults)
File “/usr/local/lib/python3.7/dist-packages/smbus_cffi-0.5.1-py3.7-linux-armv7l.egg/smbus/smbus.py”, line 145, in write_byte_data
raise IOError(ffi.errno)
OSError: 5
Please advise???
Steve