Project 10

profileabdulaziz1995

  

Objective: Use an analogRead function to input a signal from a photoresistor, and digitalWrite function to create different colors from a RGB LED.

Project: As the photoresistor detects increasing light levels (according to the table below) the RGB LED will change colors. The RGB (Red Green Blue) LED is actually 3 different colored LEDs packaged into a single body. By lighting different combinations of the three colored LEDs, different colors can be created. The table below shows what LED color combinations will create, as well as the desired photoresistor readings:


  • 6 years ago
  • 20
Answer(1)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    AnswerDocument.docx