{"action":"created","issue":{"url":"https://api.github.com/repos/fivdi/onoff/issues/51","repository_url":"https://api.github.com/repos/fivdi/onoff","labels_url":"https://api.github.com/repos/fivdi/onoff/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/fivdi/onoff/issues/51/comments","events_url":"https://api.github.com/repos/fivdi/onoff/issues/51/events","html_url":"https://github.com/fivdi/onoff/issues/51","id":166389157,"number":51,"title":"Debounce","user":{"login":"thisboyiscrazy","id":632284,"avatar_url":"https://avatars.githubusercontent.com/u/632284?v=3","gravatar_id":"","url":"https://api.github.com/users/thisboyiscrazy","html_url":"https://github.com/thisboyiscrazy","followers_url":"https://api.github.com/users/thisboyiscrazy/followers","following_url":"https://api.github.com/users/thisboyiscrazy/following{/other_user}","gists_url":"https://api.github.com/users/thisboyiscrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/thisboyiscrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thisboyiscrazy/subscriptions","organizations_url":"https://api.github.com/users/thisboyiscrazy/orgs","repos_url":"https://api.github.com/users/thisboyiscrazy/repos","events_url":"https://api.github.com/users/thisboyiscrazy/events{/privacy}","received_events_url":"https://api.github.com/users/thisboyiscrazy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-19T17:33:03Z","updated_at":"2016-07-19T21:26:57Z","closed_at":null,"body":"I am having an issue with a nosy input.\r\n\r\nThe interrupts are firing very fast but reading the same value (I think because of the noise).\r\n\r\nFor example I have an input the is low but the watch listeners are firing always reading 0.\r\n\r\nI have tried setting debounceTimeout but this only delays the interrupt and cause them to occur less often.\r\n\r\nCan the code be changed to add a readSync after the timeout and fire the watch listeners if the value changed.\r\n\r\nAlso don't know if the help but it is on a bealge bone black."},"comment":{"url":"https://api.github.com/repos/fivdi/onoff/issues/comments/233771500","html_url":"https://github.com/fivdi/onoff/issues/51#issuecomment-233771500","issue_url":"https://api.github.com/repos/fivdi/onoff/issues/51","id":233771500,"user":{"login":"fivdi","id":2605378,"avatar_url":"https://avatars.githubusercontent.com/u/2605378?v=3","gravatar_id":"","url":"https://api.github.com/users/fivdi","html_url":"https://github.com/fivdi","followers_url":"https://api.github.com/users/fivdi/followers","following_url":"https://api.github.com/users/fivdi/following{/other_user}","gists_url":"https://api.github.com/users/fivdi/gists{/gist_id}","starred_url":"https://api.github.com/users/fivdi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fivdi/subscriptions","organizations_url":"https://api.github.com/users/fivdi/orgs","repos_url":"https://api.github.com/users/fivdi/repos","events_url":"https://api.github.com/users/fivdi/events{/privacy}","received_events_url":"https://api.github.com/users/fivdi/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T21:26:57Z","updated_at":"2016-07-19T21:26:57Z","body":"The `onoff` debounce code really isn't the best and should be either improved or removed. I'll try to improve it but it may take a while. "}}
{"actor":{"display_login":"fivdi"}}