I hooked the color sensor up using a guide I found by searching the internet and pretty quickly was able to read data from it in the serial monitor. With some additional tinkering I was able to get it to light up red, green, and blue LED lights based on what the sensor detected.
17 окт 2024