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/", sensor_value = grovepi.analogRead(light_sensor) File"/home/pi/Desktop/Forest IoT/", 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.

thirumsNov 04,2018 04:57 AMAdd Comment


Popular Topics