{"action":"created","issue":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/286","labels_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/286/comments","events_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/286/events","html_url":"https://github.com/intel-iot-devkit/mraa/issues/286","id":107164832,"number":286,"title":"Gpio can be initialized with pin no. that is not I/O","user":{"login":"cosscat","id":9968072,"avatar_url":"https://avatars.githubusercontent.com/u/9968072?v=3","gravatar_id":"","url":"https://api.github.com/users/cosscat","html_url":"https://github.com/cosscat","followers_url":"https://api.github.com/users/cosscat/followers","following_url":"https://api.github.com/users/cosscat/following{/other_user}","gists_url":"https://api.github.com/users/cosscat/gists{/gist_id}","starred_url":"https://api.github.com/users/cosscat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosscat/subscriptions","organizations_url":"https://api.github.com/users/cosscat/orgs","repos_url":"https://api.github.com/users/cosscat/repos","events_url":"https://api.github.com/users/cosscat/events{/privacy}","received_events_url":"https://api.github.com/users/cosscat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-18T09:22:57Z","updated_at":"2015-09-18T10:21:13Z","closed_at":"2015-09-18T10:21:13Z","body":"Hello,\r\n\r\nmraa version: 'v0.7.5-55-g5c7bab1'\r\n```\r\n>>> m.getPlatformName()\r\n'Intel Edison'\r\n>>> i=m.Gpio(15)\r\n>>> i.getPin()\r\n15\r\n>>> i.dir(m.DIR_OUT)\r\n0\r\n>>> m.getPinName(15)\r\n'A1'\r\n```\r\nThis should not be possible.\r\n"},"comment":{"url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/comments/141412383","html_url":"https://github.com/intel-iot-devkit/mraa/issues/286#issuecomment-141412383","issue_url":"https://api.github.com/repos/intel-iot-devkit/mraa/issues/286","id":141412383,"user":{"login":"arfoll","id":514406,"avatar_url":"https://avatars.githubusercontent.com/u/514406?v=3","gravatar_id":"","url":"https://api.github.com/users/arfoll","html_url":"https://github.com/arfoll","followers_url":"https://api.github.com/users/arfoll/followers","following_url":"https://api.github.com/users/arfoll/following{/other_user}","gists_url":"https://api.github.com/users/arfoll/gists{/gist_id}","starred_url":"https://api.github.com/users/arfoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arfoll/subscriptions","organizations_url":"https://api.github.com/users/arfoll/orgs","repos_url":"https://api.github.com/users/arfoll/repos","events_url":"https://api.github.com/users/arfoll/events{/privacy}","received_events_url":"https://api.github.com/users/arfoll/received_events","type":"User","site_admin":false},"created_at":"2015-09-18T10:21:13Z","updated_at":"2015-09-18T10:21:13Z","body":"that's normal, AIO pins can be used as GPIOs this way."}}