{"action":"created","issue":{"url":"https://api.github.com/repos/gioblu/PJON/issues/34","repository_url":"https://api.github.com/repos/gioblu/PJON","labels_url":"https://api.github.com/repos/gioblu/PJON/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/gioblu/PJON/issues/34/comments","events_url":"https://api.github.com/repos/gioblu/PJON/issues/34/events","html_url":"https://github.com/gioblu/PJON/issues/34","id":142111820,"number":34,"title":"Add an option to invert the 0/1 logic so we can use internal pull-up resistors","user":{"login":"aperepel","id":119367,"avatar_url":"https://avatars.githubusercontent.com/u/119367?v=3","gravatar_id":"","url":"https://api.github.com/users/aperepel","html_url":"https://github.com/aperepel","followers_url":"https://api.github.com/users/aperepel/followers","following_url":"https://api.github.com/users/aperepel/following{/other_user}","gists_url":"https://api.github.com/users/aperepel/gists{/gist_id}","starred_url":"https://api.github.com/users/aperepel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aperepel/subscriptions","organizations_url":"https://api.github.com/users/aperepel/orgs","repos_url":"https://api.github.com/users/aperepel/repos","events_url":"https://api.github.com/users/aperepel/events{/privacy}","received_events_url":"https://api.github.com/users/aperepel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gioblu/PJON/labels/question","name":"question","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-19T23:42:56Z","updated_at":"2016-03-20T03:16:33Z","closed_at":null,"body":"Hi, I was getting frustrated not able to make basics work, but was finally able to dig up that bit in a troubleshooting guide about a 'Busy' signal and, after adding a 10K pull-down resistor, everything worked. I, however, see couple problems with a pull-down resistor requirement:\r\n\r\n1. It's an external component. If we are going for simplicity, not the right direction.\r\n1. Most Arduino/Wiring-compatible boards have _only_ pullup resistors (unlike Mega, MBed, etc.). Can we use that instead. The only change required is to invert the logic for reading 1 and 0, if I understand things correctly.\r\n\r\nWe could e.g. have an overloaded constructor taking an optional pullup flag (defaulting to false)."},"comment":{"url":"https://api.github.com/repos/gioblu/PJON/issues/comments/198839030","html_url":"https://github.com/gioblu/PJON/issues/34#issuecomment-198839030","issue_url":"https://api.github.com/repos/gioblu/PJON/issues/34","id":198839030,"user":{"login":"domonetic","id":4523833,"avatar_url":"https://avatars.githubusercontent.com/u/4523833?v=3","gravatar_id":"","url":"https://api.github.com/users/domonetic","html_url":"https://github.com/domonetic","followers_url":"https://api.github.com/users/domonetic/followers","following_url":"https://api.github.com/users/domonetic/following{/other_user}","gists_url":"https://api.github.com/users/domonetic/gists{/gist_id}","starred_url":"https://api.github.com/users/domonetic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domonetic/subscriptions","organizations_url":"https://api.github.com/users/domonetic/orgs","repos_url":"https://api.github.com/users/domonetic/repos","events_url":"https://api.github.com/users/domonetic/events{/privacy}","received_events_url":"https://api.github.com/users/domonetic/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T03:16:33Z","updated_at":"2016-03-20T03:16:33Z","body":"Atmega hace pull-up and pull-down options"}}