I'm trying to make a sign for our RV. Solar charged (I hope, so far, no joy). The processor will read the output of the solar cell, and based on the light sensed, change the PWM signal to the LEDs in the sign. So at full light, the LEDs are off, then as evening approaches, the LEDs are lit up more, until darkness when the LED's are at a minimum (because in full darkness, the sign doesn't need to be nearly as bright to be seen. But at dusk, it need to be a little bit brighter to be seen in the remaining light).
But I do have one question, and that is, will the PWM output go to zero, like, turn off? Or is the minimum a single count (or something else?).
I know I can turn it off manually. I'm just wondering if I can pick a value, and the PWM signal will go to zero.
I'm struggling a bit with the timers. I get the basics, like capture. But kinda struggling with the PWM bits. Seeing some odd stuff, like lots of jitter. I can't seem to relate different things, like output to various registers. Like "changing this, has this effect". That part, I'll get, I just need to play with it more and keep reading some of the tutorials that are here. (Dean's tutorial has helped a good bit with the basics, and another titled "Using AVR Timers/Counters" seems to be more of what I'm looking for (dude, sign yer work!) More time with a scope will help (finally got a new one! yay!)
One of the things I am seeing, is the PWM always seems to have a pulse, like there is no zero. That's why I ask.