Open
Description
If I have a PwmOut
object and set it to output to 0, I'd expect it to turn off the PWM system. Otherwise there is no way to wake up, output some PWM, then go to sleep again.
Actually however it seems there is no code at all to turn off PWM. Once you use it once, you are committed, and it draws about 1 mA which makes it useless for battery operated devices.