This revised Color Detector library uses a photoresistor in addition to the Grove Colour Sensor to increase accuracy and decrease false positives. Besides the added hardware and different constructor, this library is a drop-in replacement for the existing ColorDetector library.
Dependencies: GroveColourSensor
Dependents: nespresso_endpoint CapsuleCalibrator EnvoyNespressoEndpointColorDetectorV2