The costs and benefits of software pulse-width modulation on the Raspberry Pi

from blog Kevin Boone's website, | ↗ original
↗ original
The Raspberry Pi doesn't offer much in the way of analog outputs, or even hardware controlled PWM. Software-controlled PWM is an alternative in some applications, but it needs to be used carefully, if inefficiencies are to be avoided.