{"action":"closed","issue":{"url":"https://api.github.com/repos/jhanarato/functimer/issues/7","labels_url":"https://api.github.com/repos/jhanarato/functimer/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/jhanarato/functimer/issues/7/comments","events_url":"https://api.github.com/repos/jhanarato/functimer/issues/7/events","html_url":"https://github.com/jhanarato/functimer/issues/7","id":124070780,"number":7,"title":"Switch debounce","user":{"login":"jhanarato","id":872786,"avatar_url":"https://avatars.githubusercontent.com/u/872786?v=3","gravatar_id":"","url":"https://api.github.com/users/jhanarato","html_url":"https://github.com/jhanarato","followers_url":"https://api.github.com/users/jhanarato/followers","following_url":"https://api.github.com/users/jhanarato/following{/other_user}","gists_url":"https://api.github.com/users/jhanarato/gists{/gist_id}","starred_url":"https://api.github.com/users/jhanarato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhanarato/subscriptions","organizations_url":"https://api.github.com/users/jhanarato/orgs","repos_url":"https://api.github.com/users/jhanarato/repos","events_url":"https://api.github.com/users/jhanarato/events{/privacy}","received_events_url":"https://api.github.com/users/jhanarato/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-28T13:53:27Z","updated_at":"2016-01-01T07:29:27Z","closed_at":"2016-01-01T07:29:27Z","body":"The physical toggle switches on the arduino:\r\n\r\nhttps://www.sparkfun.com/products/9276\r\n\r\nwill bounce like most switches. Calling `delay(50)` after each call to `SwitchPanel::update()` seems to suppress any problems. I'm not sure whether to put the debounce delay in `SwitchPanel` itself, or in the calling code."}}