Create the light sensor interface
Open
enhancement
- Dominant language
- Python
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
I don't know yet if there is such a thing in the wpilib, but I'm guessing that the Freenove code reads an analog input from the ADC to read the light sensor value. So, perhaps this is just an AnalogInput() from two specific pins. But, perhaps we could wrap it up with a DualLightSensor() class that could be more convenient to use.
Dig in the Freenove code and look in Code/Server the Light.py and how it is created/called in the server.py setting.
Write in the comments here what you can make sense of. Ask questions if you need some help.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.