-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
For some reason, once the VEML7700 is initialized, if we turn the solar panel face off and on again it just gives us 0 readings. See the attached example:
>>> xy_panel.get_light_level()
4980
>>> xy_panel.disable_load()
{"time": "2000-01-01 00:51:55", "level": "DEBUG", "msg": "XY solar panel load switch pin set to False"}
{"time": "2000-01-01 00:51:55", "level": "DEBUG", "msg": "XY solar panel load switch disabled"}
True
>>> xy_panel.enable_load()
{"time": "2000-01-01 00:51:57", "level": "DEBUG", "msg": "XY solar panel load switch pin set to True"}
{"time": "2000-01-01 00:51:57", "level": "DEBUG", "msg": "XY solar panel load switch enabled"}
True
>>> xy_panel.get_light_level()
0Steps to reproduce
- Turn on face
- Initialize VEML7700
- Turn off face
- Turn on face
- Poll VEML7700 for light data
Environment
V5b Flight Controller Board running pysquared_version = mike-252-bring-back-big-data
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working