Can't change light sensor settings.
-
If I try to define the constructor as ...
board = Pysense() light_sensor = LTR329ALS01(board, gain=ALS_GAIN_96X, integration=ALS_INT_50, rate=ALS_RATE_50)
I get an error NameError: name 'ALS_GAIN_96X' is not defined.
I'm back to the Pycom boards after a while and something really odd has happened to the PySense libraries!