PWM - Pulse-width Modulation
PWM (Pulse-width Modulation) is a method of creating an analog voltage by toggling a digital pin on and off.
The GPIOs map to the Hardware PWM peripherals as such:
PWM0 | PWM1 | ECAP | |||||
---|---|---|---|---|---|---|---|
A | B | A | B | 0 | 1 | 2 | |
GPIO5 | X | ||||||
GPIO6 | X | ||||||
GPIO12 | X | X | |||||
GPIO13 | X | ||||||
GPIO14 | X | ||||||
GPIO15 | X | ||||||
GPIO16 | X | ||||||
GPIO17 | X | ||||||
GPIO18 | X | ||||||
GPIO20 | X | ||||||
GPIO21 | X | X |
Details
|