Week 5- LED behavior -Albee

< DON’T READ IN DARK>

Since it is always bad to our eyes from reading or using cellphone under not enough light source. Therefore, I use Arduino to create a little device that can remind you the current light situation you are at.

Not enough light- Red.

Moderate light source- Yellow.

Good amount of light- Green.

 

 

including Arduino Uno, one photoresistor, and three LEDs

 

 

albee_photoresistor_code

Leave a Reply

Your email address will not be published. Required fields are marked *