{"action":"created","issue":{"url":"https://api.github.com/repos/mcallegari/qlcplus/issues/884","repository_url":"https://api.github.com/repos/mcallegari/qlcplus","labels_url":"https://api.github.com/repos/mcallegari/qlcplus/issues/884/labels{/name}","comments_url":"https://api.github.com/repos/mcallegari/qlcplus/issues/884/comments","events_url":"https://api.github.com/repos/mcallegari/qlcplus/issues/884/events","html_url":"https://github.com/mcallegari/qlcplus/pull/884","id":177181303,"number":884,"title":"Hysteresis","user":{"login":"karrika","id":6996727,"avatar_url":"https://avatars.githubusercontent.com/u/6996727?v=3","gravatar_id":"","url":"https://api.github.com/users/karrika","html_url":"https://github.com/karrika","followers_url":"https://api.github.com/users/karrika/followers","following_url":"https://api.github.com/users/karrika/following{/other_user}","gists_url":"https://api.github.com/users/karrika/gists{/gist_id}","starred_url":"https://api.github.com/users/karrika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karrika/subscriptions","organizations_url":"https://api.github.com/users/karrika/orgs","repos_url":"https://api.github.com/users/karrika/repos","events_url":"https://api.github.com/users/karrika/events{/privacy}","received_events_url":"https://api.github.com/users/karrika/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-15T13:46:13Z","updated_at":"2016-09-25T16:25:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mcallegari/qlcplus/pulls/884","html_url":"https://github.com/mcallegari/qlcplus/pull/884","diff_url":"https://github.com/mcallegari/qlcplus/pull/884.diff","patch_url":"https://github.com/mcallegari/qlcplus/pull/884.patch"},"body":"GPIO inputs are noisy. Even with good power supplies and proper electronics in the front you get occasional false triggers (I had 2 last summer. One by itself before the show and one when someone stepped on some cables). This patch requires the value to be stable for 200ms before we accept the trigger as real. The hysteresis work both ways so you also check for release of the button.\r\n\r\nIt does slow down the response from a button press by 200ms. But on the other hand you can also use internal pull-ups and cheap power supplies without problems with your buttons.\r\n\r\nThe best thing is that you get no false triggers. And that is quite important for the end user."},"comment":{"url":"https://api.github.com/repos/mcallegari/qlcplus/issues/comments/249431074","html_url":"https://github.com/mcallegari/qlcplus/pull/884#issuecomment-249431074","issue_url":"https://api.github.com/repos/mcallegari/qlcplus/issues/884","id":249431074,"user":{"login":"karrika","id":6996727,"avatar_url":"https://avatars.githubusercontent.com/u/6996727?v=3","gravatar_id":"","url":"https://api.github.com/users/karrika","html_url":"https://github.com/karrika","followers_url":"https://api.github.com/users/karrika/followers","following_url":"https://api.github.com/users/karrika/following{/other_user}","gists_url":"https://api.github.com/users/karrika/gists{/gist_id}","starred_url":"https://api.github.com/users/karrika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karrika/subscriptions","organizations_url":"https://api.github.com/users/karrika/orgs","repos_url":"https://api.github.com/users/karrika/repos","events_url":"https://api.github.com/users/karrika/events{/privacy}","received_events_url":"https://api.github.com/users/karrika/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T16:25:56Z","updated_at":"2016-09-25T16:25:56Z","body":"Noise works both ways. If switch back is instant then we also get a second unwanted trigger 200 ms after the instant switch to zero. So I would like to filter edges both ways."}}
{"actor":{"display_login":"karrika"}}