FRC1076 / FRC1076/RobotKitLib

Create the light sensor interface

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.