{"action":"closed","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7707","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7707/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7707/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/7707/events","html_url":"https://github.com/ARMmbed/mbed-os/issues/7707","id":347958768,"node_id":"MDU6SXNzdWUzNDc5NTg3Njg=","number":7707,"title":"NRF52 PwmOut inverted","user":{"login":"ChiSaw","id":15888242,"node_id":"MDQ6VXNlcjE1ODg4MjQy","avatar_url":"https://avatars3.githubusercontent.com/u/15888242?v=4","gravatar_id":"","url":"https://api.github.com/users/ChiSaw","html_url":"https://github.com/ChiSaw","followers_url":"https://api.github.com/users/ChiSaw/followers","following_url":"https://api.github.com/users/ChiSaw/following{/other_user}","gists_url":"https://api.github.com/users/ChiSaw/gists{/gist_id}","starred_url":"https://api.github.com/users/ChiSaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChiSaw/subscriptions","organizations_url":"https://api.github.com/users/ChiSaw/orgs","repos_url":"https://api.github.com/users/ChiSaw/repos","events_url":"https://api.github.com/users/ChiSaw/events{/privacy}","received_events_url":"https://api.github.com/users/ChiSaw/received_events","type":"User","site_admin":false},"labels":[{"id":405492686,"node_id":"MDU6TGFiZWw0MDU0OTI2ODY=","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/devices:%20nordic","name":"devices: nordic","color":"0052cc","default":false},{"id":427713129,"node_id":"MDU6TGFiZWw0Mjc3MTMxMjk=","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/mirrored","name":"mirrored","color":"ededed","default":false},{"id":28847979,"node_id":"MDU6TGFiZWwyODg0Nzk3OQ==","url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/type:%20bug","name":"type: bug","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-08-06T14:55:42Z","updated_at":"2018-09-21T14:16:04Z","closed_at":"2018-09-21T14:16:04Z","author_association":"NONE","body":"### Description\r\nSwitched from mbed-os-5.7 to mbed-os-5.9, suddenly PwmOut behaved inverted, meaning\r\n\r\n`PwmOut led(SOME_PIN);`\r\n`led.write(0); // LED on`\r\n\r\naccordingly opposite cases for `.write(1000);`\r\n\r\nNote: LED circuit is active-high.\r\n\r\nTarget: NRF52832\r\nARM_GCC 6-2017-q2-update 6.3.1 20170620 (release)\r\nmbed-os: 5.9, mbed-cli\r\nSteps to reproduce:\r\nempty mbed-os project with main() containing\r\n\r\n```\r\nPwmOut led(p17);\r\nled.write(0);\r\nThread::wait(3000); // to notice a change\r\nled.write(1000);\r\n```\r\n\r\n### Issue request type\r\n\r\n[ ] Question  \r\n[ ] Enhancement  \r\n[X] Bug  \r\n\r\n"}}
{"actor":{"display_login":"ChiSaw"}}