Back to Parent

Exercise1: Modify the program so that the LED shows the opposite. When there is little light, it will be bright and when there’s lots of light, it will be off.  

I added another variable to distinct the photoCell reading and the LED dimming level(actual LED lighting level). In this exercise, LED shows the opposite which means that the higher ambient lighting('light') leads to a smaller LED lighting level('dim').


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0