Product FAQGroveIoTdarkenviromentSensorlinkit onegalileoarduinodigitallight

[FAQ]thirums asked about Grove - Digital Light Sensor

HI, I am using this sensor with pi 3B+ not working and giving error as follows:Traceback (most recent call last): File"/home/pi/Desktop/Forest IoT/Light.py", sensor_value = grovepi.analogRead(light_sensor) File"/home/pi/Desktop/Forest IoT/grovepi.py", line 227, in analogRead return number[1] * 256 + number[2]TypeError: 'int' object is not subscriptable 'int' object is not subscriptable, updated the firmware, os not working. but same program working fine with pi 3B.


/Grove---Digital-Light-Sensor-p-1281.html
thirumsNov 04,2018 04:57 AMAdd Comment

Comment

Popular Topics