Playing with PWM
azog | September 6, 2006
Here’s a fun little experiment. Or at least, I thought it was fun. A lot of AVRs have PWM modes, which means “pulse width modulation”. It’s a way to vary the duty cycle of an output, so that it appears to have an analog output. Since it just runs as one of the clocks, you [...]