{"action":"created","issue":{"url":"https://api.github.com/repos/NeonHorizon/lipopi/issues/29","repository_url":"https://api.github.com/repos/NeonHorizon/lipopi","labels_url":"https://api.github.com/repos/NeonHorizon/lipopi/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/NeonHorizon/lipopi/issues/29/comments","events_url":"https://api.github.com/repos/NeonHorizon/lipopi/issues/29/events","html_url":"https://github.com/NeonHorizon/lipopi/issues/29","id":295018919,"number":29,"title":"gpio switch from pitft gpio","user":{"login":"darkmoon3d","id":16631384,"avatar_url":"https://avatars0.githubusercontent.com/u/16631384?v=4","gravatar_id":"","url":"https://api.github.com/users/darkmoon3d","html_url":"https://github.com/darkmoon3d","followers_url":"https://api.github.com/users/darkmoon3d/followers","following_url":"https://api.github.com/users/darkmoon3d/following{/other_user}","gists_url":"https://api.github.com/users/darkmoon3d/gists{/gist_id}","starred_url":"https://api.github.com/users/darkmoon3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkmoon3d/subscriptions","organizations_url":"https://api.github.com/users/darkmoon3d/orgs","repos_url":"https://api.github.com/users/darkmoon3d/repos","events_url":"https://api.github.com/users/darkmoon3d/events{/privacy}","received_events_url":"https://api.github.com/users/darkmoon3d/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-07T06:13:56Z","updated_at":"2018-03-09T18:41:30Z","closed_at":"2018-02-07T09:46:58Z","author_association":"NONE","body":"Am wanting to use a gpio pin specifically pin 17 on adafruit pitft 2.2\" (https://www.adafruit.com/product/2315) . Is this possible? Am also looking into a failsafe switch where user would turn the device over while holding down the button in order to turn the device on or off. Would use tilt switch to detect when device is turned over (https://www.adafruit.com/product/173)."},"comment":{"url":"https://api.github.com/repos/NeonHorizon/lipopi/issues/comments/371907751","html_url":"https://github.com/NeonHorizon/lipopi/issues/29#issuecomment-371907751","issue_url":"https://api.github.com/repos/NeonHorizon/lipopi/issues/29","id":371907751,"user":{"login":"NeonHorizon","id":3149726,"avatar_url":"https://avatars2.githubusercontent.com/u/3149726?v=4","gravatar_id":"","url":"https://api.github.com/users/NeonHorizon","html_url":"https://github.com/NeonHorizon","followers_url":"https://api.github.com/users/NeonHorizon/followers","following_url":"https://api.github.com/users/NeonHorizon/following{/other_user}","gists_url":"https://api.github.com/users/NeonHorizon/gists{/gist_id}","starred_url":"https://api.github.com/users/NeonHorizon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeonHorizon/subscriptions","organizations_url":"https://api.github.com/users/NeonHorizon/orgs","repos_url":"https://api.github.com/users/NeonHorizon/repos","events_url":"https://api.github.com/users/NeonHorizon/events{/privacy}","received_events_url":"https://api.github.com/users/NeonHorizon/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T18:41:30Z","updated_at":"2018-03-09T18:41:30Z","author_association":"OWNER","body":"OK I think I see the problem...\r\nThe button you are using has one side connected to GPIO 17 and the other side connected to ground. This wont work as the button needs to have the other side connected to bat and the other connected to the diodes. You wont be able to resolve this without doing a lot of modifications to the PiTFT and its likely to not even be possible depending on how they have routed the tracks on the PCB. You would basically need to cut the track that joins the button to 17 and cut all around the earth going to the other side of the button, then solder wires directly to the button going to bat and the diodes. This is likely a bad idea.\r\n\r\n"}}
{"actor":{"display_login":"NeonHorizon"}}