{"action":"created","issue":{"url":"https://api.github.com/repos/emutex/wiring-x86/issues/1","labels_url":"https://api.github.com/repos/emutex/wiring-x86/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/emutex/wiring-x86/issues/1/comments","events_url":"https://api.github.com/repos/emutex/wiring-x86/issues/1/events","html_url":"https://github.com/emutex/wiring-x86/issues/1","id":39279741,"number":1,"title":"On-board led (pin 13) not working on Galileo board","user":{"login":"nicopernas","id":1394289,"avatar_url":"https://avatars.githubusercontent.com/u/1394289?v=3","gravatar_id":"","url":"https://api.github.com/users/nicopernas","html_url":"https://github.com/nicopernas","followers_url":"https://api.github.com/users/nicopernas/followers","following_url":"https://api.github.com/users/nicopernas/following{/other_user}","gists_url":"https://api.github.com/users/nicopernas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicopernas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicopernas/subscriptions","organizations_url":"https://api.github.com/users/nicopernas/orgs","repos_url":"https://api.github.com/users/nicopernas/repos","events_url":"https://api.github.com/users/nicopernas/events{/privacy}","received_events_url":"https://api.github.com/users/nicopernas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/emutex/wiring-x86/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"nicopernas","id":1394289,"avatar_url":"https://avatars.githubusercontent.com/u/1394289?v=3","gravatar_id":"","url":"https://api.github.com/users/nicopernas","html_url":"https://github.com/nicopernas","followers_url":"https://api.github.com/users/nicopernas/followers","following_url":"https://api.github.com/users/nicopernas/following{/other_user}","gists_url":"https://api.github.com/users/nicopernas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicopernas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicopernas/subscriptions","organizations_url":"https://api.github.com/users/nicopernas/orgs","repos_url":"https://api.github.com/users/nicopernas/repos","events_url":"https://api.github.com/users/nicopernas/events{/privacy}","received_events_url":"https://api.github.com/users/nicopernas/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2014-08-01T10:51:18Z","updated_at":"2015-07-30T15:27:10Z","closed_at":null,"body":"On Arduino compatible boards the on-board general purpose led (GP) is connected to GPIO pin 13. On Galileo board the on-board pin is not currently working due to a known issue on the board itself. On Galileo GP led is not really connected to pin 13 but 20. A workaround needs to be put in place to write to GPIO pin 20 every time pin 13 is written. Extra muxing might be needed as well."},"comment":{"url":"https://api.github.com/repos/emutex/wiring-x86/issues/comments/126370160","html_url":"https://github.com/emutex/wiring-x86/issues/1#issuecomment-126370160","issue_url":"https://api.github.com/repos/emutex/wiring-x86/issues/1","id":126370160,"user":{"login":"DrBomb","id":6021771,"avatar_url":"https://avatars.githubusercontent.com/u/6021771?v=3","gravatar_id":"","url":"https://api.github.com/users/DrBomb","html_url":"https://github.com/DrBomb","followers_url":"https://api.github.com/users/DrBomb/followers","following_url":"https://api.github.com/users/DrBomb/following{/other_user}","gists_url":"https://api.github.com/users/DrBomb/gists{/gist_id}","starred_url":"https://api.github.com/users/DrBomb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrBomb/subscriptions","organizations_url":"https://api.github.com/users/DrBomb/orgs","repos_url":"https://api.github.com/users/DrBomb/repos","events_url":"https://api.github.com/users/DrBomb/events{/privacy}","received_events_url":"https://api.github.com/users/DrBomb/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T15:27:10Z","updated_at":"2015-07-30T15:27:10Z","body":"I've just checked this on the code, and pin 13 is mapped to gpio39 as expected on a Intel Galileo Gen 1. The thing is that the LED pin is connected to gpio3.\r\nI suppose the Arduino IDE has a workaround which maps both gpio39 and gpio3 to the same value so when pin 13 comes up, both physical pin 13 and the LED have HIGH outputs."}}