PWMApplies to: c, embedded, roboticsPWM rapidly switches a signal on and off. The duty cycle controls average power, useful for motors and LEDs. set_pwm_duty(0.5); See also: gpio, register