{"action":"created","issue":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/173","labels_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/173/comments","events_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/173/events","html_url":"https://github.com/bbcmicrobit/micropython/pull/173","id":129550739,"number":173,"title":"Compass fixes","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":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-28T19:19:52Z","updated_at":"2016-01-30T15:07:42Z","closed_at":"2016-01-30T14:05:34Z","pull_request":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/173","html_url":"https://github.com/bbcmicrobit/micropython/pull/173","diff_url":"https://github.com/bbcmicrobit/micropython/pull/173.diff","patch_url":"https://github.com/bbcmicrobit/micropython/pull/173.patch"},"body":"This fixes the compass with the new DAL behaviour for calibration, and adds a new function.  Commits are:\r\n\r\n- reference the \"master\" version of the DAL to get the relevant version\r\n- get calibration working by giving the DAL control of the display during calibration\r\n- add the get_field_strength() function [this seems to work very well, for instance gives a bigger reading when the microbit is close to a monitor]\r\n\r\nI left the `is_calibrating()` function even though it always returns `False`."},"comment":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/comments/177201669","html_url":"https://github.com/bbcmicrobit/micropython/pull/173#issuecomment-177201669","issue_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/173","id":177201669,"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},"created_at":"2016-01-30T15:07:42Z","updated_at":"2016-01-30T15:07:42Z","body":"Yay!  An SPI test is on the top of my list..."}}