5,710
edits
Changes
→Analog Output
== Analog Output ==
Continually varying signals, rather than discrete "steps". How does a digital microprocessor create an analog output?
PWM, duty cycle, and effective voltage.
* It looks like a MacBook napping...
* Get this working. Then...
* Q: Drive this dimming example with the light sensor from before.
* Q: Does yours turn on when it is light, or does it turn off? Switch this to give it the opposite behavior, in either hardware or software. You could do either!