|
Post by shekoo on Dec 20, 2017 12:45:48 GMT -8
I am seeing too many sensor data plus get this error
pi@shekoo:~/Desktop/smartplant/Adafruit_Python_GPIO/SDL_Pi_SmartplantPi $ i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e -- 60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 70: 70 71 72 73 74 75 76 77 pi@shekoo:~/Desktop/smartplant/Adafruit_Python_GPIO/SDL_Pi_SmartplantPi $ sudo python testAll.py Traceback (most recent call last): File "testAll.py", line 118, in <module> Sunlight_Sensor = SDL_Pi_SI1145.SDL_Pi_SI1145() File "./SDL_Pi_SI1145/SDL_Pi_SI1145.py", line 165, in __init__ self._reset() File "./SDL_Pi_SI1145/SDL_Pi_SI1145.py", line 178, in _reset self._device.write8(SI1145_REG_IRQSTAT, 0xFF) File "./SDL_Pi_SI1145/I2C.py", line 114, in write8 self._bus.write_byte_data(self._address, register, value) File "build/bdist.linux-armv7l/egg/Adafruit_PureIO/smbus.py", line 236, in write_byte_data IOError: [Errno 121] Remote I/O error
|
|
|
Post by shekoo on Dec 20, 2017 13:18:11 GMT -8
sorry, i got things to work. Never mind 
|
|
dougstrickland
Junior Member

Posts: 54
Raspberry Pi: Yes
Other Device: Wemos, Arduino...
|
Post by dougstrickland on Dec 20, 2017 14:14:04 GMT -8
Share what you found.. it helps other like me when troubleshooting. 
|
|
paul
New Member
Posts: 2
|
Post by paul on Mar 11, 2018 8:23:40 GMT -8
Hi There
I have a similar issue
Get File “testAll.py” , line 88 print “handling button click event”
SyntaxError: invalid syntax
can anyone help?
|
|
paul
New Member
Posts: 2
|
Post by paul on Mar 11, 2018 9:45:02 GMT -8
Hi There
I have a similar issue
Get File “testAll.py” , line 88 print “handling button click event”
SyntaxError: invalid syntax
can anyone help?
|
|
|
Post by turbon on Mar 11, 2018 12:13:58 GMT -8
Hi Paul.
Have you done anything with the code? Syntax error usualy shows up when the language is used in a wrong way or is slightly corrupted. Can you get a fresh copy of testAll.py?
Regards
|
|