Procedure:
Design the following circuit and code:
Modify the Bar Graph Distance Control circuit and program to using a photoresistor input instead of an IR distance sensor in
Chapter 3 (pp. 56- 59). Modify the program to represent an illumination LED bar graph circuit. In other words, when the photoresistor detects maximum light, all of the eight LEDS light. As you dim the amount to the photoresistor, the LEDS start to turn off from right to left.
Send your code file (.ino) of the lab completed and operational as well for credit.
Analysis/Discussion:
Explain what you did in the program to reverse the display of the bar graph, making the bar graph illuminate with the LEDS on and turning off as you dimmed the light.
The 74HC595 shift register is essential converting 3 inputs to 8 outputs. In your own words, how does this work?
Attachment:- 1613393_1_pp-56-59.pdf