The micro:bit framework attempts to provide PWM in easy-to-use forms. It provides functions which target the two main uses of PWM – D-to-A conversion and controlling servo motors. More about both ...