{"action":"created","issue":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/240","repository_url":"https://api.github.com/repos/bbcmicrobit/micropython","labels_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/240/comments","events_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/240/events","html_url":"https://github.com/bbcmicrobit/micropython/pull/240","id":141837146,"number":240,"title":"Add microbit_obj_get_pin_name function to reduce need for MicroBit.h.","user":{"login":"dpgeorge","id":6187689,"avatar_url":"https://avatars.githubusercontent.com/u/6187689?v=3","gravatar_id":"","url":"https://api.github.com/users/dpgeorge","html_url":"https://github.com/dpgeorge","followers_url":"https://api.github.com/users/dpgeorge/followers","following_url":"https://api.github.com/users/dpgeorge/following{/other_user}","gists_url":"https://api.github.com/users/dpgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/dpgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpgeorge/subscriptions","organizations_url":"https://api.github.com/users/dpgeorge/orgs","repos_url":"https://api.github.com/users/dpgeorge/repos","events_url":"https://api.github.com/users/dpgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/dpgeorge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-18T11:08:24Z","updated_at":"2016-03-22T22:14:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/240","html_url":"https://github.com/bbcmicrobit/micropython/pull/240","diff_url":"https://github.com/bbcmicrobit/micropython/pull/240.diff","patch_url":"https://github.com/bbcmicrobit/micropython/pull/240.patch"},"body":"Added microbit_obj_get_pin_name, which returns the PinName value (from mbed API), and reduces the need for MicroBit.h.  There are no functional changes.\r\n\r\n@markshannon this should mean you can make modaudio a pure .c file."},"comment":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/comments/200055250","html_url":"https://github.com/bbcmicrobit/micropython/pull/240#issuecomment-200055250","issue_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/240","id":200055250,"user":{"login":"markshannon","id":9448417,"avatar_url":"https://avatars.githubusercontent.com/u/9448417?v=3","gravatar_id":"","url":"https://api.github.com/users/markshannon","html_url":"https://github.com/markshannon","followers_url":"https://api.github.com/users/markshannon/followers","following_url":"https://api.github.com/users/markshannon/following{/other_user}","gists_url":"https://api.github.com/users/markshannon/gists{/gist_id}","starred_url":"https://api.github.com/users/markshannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markshannon/subscriptions","organizations_url":"https://api.github.com/users/markshannon/orgs","repos_url":"https://api.github.com/users/markshannon/repos","events_url":"https://api.github.com/users/markshannon/events{/privacy}","received_events_url":"https://api.github.com/users/markshannon/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T22:14:33Z","updated_at":"2016-03-22T22:14:33Z","body":"LGTM, builds cleanly on my machine and seems to work OK. Any particular tests you would suggest?"}}