{"action":"opened","issue":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/2130","repository_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware","labels_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/2130/labels{/name}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/2130/comments","events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/2130/events","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/2130","id":264261941,"number":2130,"title":"Rewrite of rfswitch module to use the hardware timer.","user":{"login":"jonlidgard","id":400050,"avatar_url":"https://avatars2.githubusercontent.com/u/400050?v=4","gravatar_id":"","url":"https://api.github.com/users/jonlidgard","html_url":"https://github.com/jonlidgard","followers_url":"https://api.github.com/users/jonlidgard/followers","following_url":"https://api.github.com/users/jonlidgard/following{/other_user}","gists_url":"https://api.github.com/users/jonlidgard/gists{/gist_id}","starred_url":"https://api.github.com/users/jonlidgard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonlidgard/subscriptions","organizations_url":"https://api.github.com/users/jonlidgard/orgs","repos_url":"https://api.github.com/users/jonlidgard/repos","events_url":"https://api.github.com/users/jonlidgard/events{/privacy}","received_events_url":"https://api.github.com/users/jonlidgard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-10T14:59:24Z","updated_at":"2017-10-10T14:59:24Z","closed_at":null,"author_association":"NONE","body":"8<------------------------ FEATURE REQUEST ------------------------------------\r\nThe rfswitch module relies on the far less accurate os_delay_us to implement the pulse train.\r\nI've implemented a hw_timer interrupt based version which should be more reliable.\r\nThe interface is identical to the original so shouldn't break anything unless you are also using the pwm features on the esp8266 which is mutually exclusive with the use of hw_timer.\r\n\r\n### Justification\r\nIncreased reliability, more responsive.\r\n\r\n### Workarounds\r\n[https://github.com/jonlidgard/nodemcu-firmware/blob/master/app/modules/rfswitch.c](url)\r\n\r\nWilling to add it as a Pull Request if asked.\r\n8<------------------------ END FEATURE REQUEST ------------------------------\r\n"}}
{"actor":{"display_login":"jonlidgard"}}