{"action":"created","issue":{"url":"https://api.github.com/repos/fivdi/onoff/issues/115","repository_url":"https://api.github.com/repos/fivdi/onoff","labels_url":"https://api.github.com/repos/fivdi/onoff/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/fivdi/onoff/issues/115/comments","events_url":"https://api.github.com/repos/fivdi/onoff/issues/115/events","html_url":"https://github.com/fivdi/onoff/issues/115","id":335669322,"node_id":"MDU6SXNzdWUzMzU2NjkzMjI=","number":115,"title":"Support for active_low","user":{"login":"splitice","id":468579,"node_id":"MDQ6VXNlcjQ2ODU3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/468579?v=4","gravatar_id":"","url":"https://api.github.com/users/splitice","html_url":"https://github.com/splitice","followers_url":"https://api.github.com/users/splitice/followers","following_url":"https://api.github.com/users/splitice/following{/other_user}","gists_url":"https://api.github.com/users/splitice/gists{/gist_id}","starred_url":"https://api.github.com/users/splitice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splitice/subscriptions","organizations_url":"https://api.github.com/users/splitice/orgs","repos_url":"https://api.github.com/users/splitice/repos","events_url":"https://api.github.com/users/splitice/events{/privacy}","received_events_url":"https://api.github.com/users/splitice/received_events","type":"User","site_admin":false},"labels":[{"id":17406931,"node_id":"MDU6TGFiZWwxNzQwNjkzMQ==","url":"https://api.github.com/repos/fivdi/onoff/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-06-26T05:56:31Z","updated_at":"2018-07-24T12:13:10Z","closed_at":"2018-07-24T12:13:10Z","author_association":"NONE","body":"active_low is a relatively new property of the sysfs filesystem that allows the behaviour or Gpio's in an out direction to be flipped. This in particular changes the default state of the Gpio.\r\n\r\nThe active_low sysfs file needs to be set before setting the mode to out."},"comment":{"url":"https://api.github.com/repos/fivdi/onoff/issues/comments/407384937","html_url":"https://github.com/fivdi/onoff/issues/115#issuecomment-407384937","issue_url":"https://api.github.com/repos/fivdi/onoff/issues/115","id":407384937,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzM4NDkzNw==","user":{"login":"fivdi","id":2605378,"node_id":"MDQ6VXNlcjI2MDUzNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/2605378?v=4","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":"2018-07-24T12:13:10Z","updated_at":"2018-07-24T12:13:10Z","author_association":"OWNER","body":"Both of the above issues have been resolved with onoff@3.2.0.\r\n\r\nTo resolve the second issue onoff@3.2.0 adds an new boolean option called reconfigureDirection to the Gpio constructor. This option can be used to retain the value of a GPIO output when an application is stopped and restarted."}}
{"actor":{"display_login":"fivdi"}}