-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Description
Switched from mbed-os-5.7 to mbed-os-5.9, suddenly PwmOut behaved inverted, meaning
PwmOut led(SOME_PIN);
led.write(0); // LED on
accordingly opposite cases for .write(1000);
Note: LED circuit is active-high.
Target: NRF52832
ARM_GCC 6-2017-q2-update 6.3.1 20170620 (release)
mbed-os: 5.9, mbed-cli
Steps to reproduce:
empty mbed-os project with main() containing
PwmOut led(p17);
led.write(0);
Thread::wait(3000); // to notice a change
led.write(1000);
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug