-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
from fllforums
One thing I've noticed is Pybricks ColorSensor class doesn't provide a way to calibrate. I came out with a workaround for now but I wonder whether there is any "official" way to do it like what you can do with EV3 Mindstorms Color Sensor block?
philso replied:
EV3Lessons has a tutorial on how to calibrate the color sensor using the EV3 programming language. That tutorial includes some pseudocode that can be converted to MicroPython. There is a note in that tutorial that it would be best to calibrate each color sensor connected separately. The sensors are not calibrated from the factory and different examples will generally return different values when they are exposed to the same area on the mat.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels