Colour Sensor||Detect Colours With it!!
HTML-код
- Опубликовано: 30 апр 2024
- Connection
Sensor - Arduino
Vcc-5v
GND-GND
S0-4
S1-5
S2-6
S3-7
OUT-8
First code for calibration--drive.google.c...
Second code for demo--drive.google.c...
Here put the min and max value from first code--
int redMin = 0; // Red minimum value
int redMax = 0; // Red maximum value
int greenMin = 0; // Green minimum value
int greenMax = 0; // Green maximum value
int blueMin = 0; // Blue minimum value
int blueMax = 0; // Blue maximum value
👏👏