


In this Sketch, I try to use the light sensor to turn on the LED pixels. I also want to try different modes for LED. Then after my research, I downloaded the library called Adafruit Neopixel, and referred to the examples from the library.
Unfortunately, my Arduino cannot connect to my laptop this evening. I tried to change a couple of USB-Cable, but it still doesn’t work. So the code didn’t have the final test.
I need to find out the reason continuously.
Code Link: https://github.com/YuemingGaoMINGMING/MINGMING/blob/main/sketch_lightSensor%26LED/sketch_lightSensor%26LED.ino

Reference:
- https://arduinogetstarted.com/tutorials/arduino-light-sensor-triggers-led
- https://create.arduino.cc/projecthub/BuildItDR/neopixels-how-do-they-work-f1152a?ref=search&ref_id=NeoPixel&offset=4