{"action":"created","issue":{"url":"https://api.github.com/repos/adafruit/circuitpython/issues/839","repository_url":"https://api.github.com/repos/adafruit/circuitpython","labels_url":"https://api.github.com/repos/adafruit/circuitpython/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/adafruit/circuitpython/issues/839/comments","events_url":"https://api.github.com/repos/adafruit/circuitpython/issues/839/events","html_url":"https://github.com/adafruit/circuitpython/pull/839","id":322988330,"number":839,"title":"Add precise_time module","user":{"login":"margaret","id":1811496,"avatar_url":"https://avatars1.githubusercontent.com/u/1811496?v=4","gravatar_id":"","url":"https://api.github.com/users/margaret","html_url":"https://github.com/margaret","followers_url":"https://api.github.com/users/margaret/followers","following_url":"https://api.github.com/users/margaret/following{/other_user}","gists_url":"https://api.github.com/users/margaret/gists{/gist_id}","starred_url":"https://api.github.com/users/margaret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/margaret/subscriptions","organizations_url":"https://api.github.com/users/margaret/orgs","repos_url":"https://api.github.com/users/margaret/repos","events_url":"https://api.github.com/users/margaret/events{/privacy}","received_events_url":"https://api.github.com/users/margaret/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-05-14T21:27:54Z","updated_at":"2018-05-21T18:48:58Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/adafruit/circuitpython/pulls/839","html_url":"https://github.com/adafruit/circuitpython/pull/839","diff_url":"https://github.com/adafruit/circuitpython/pull/839.diff","patch_url":"https://github.com/adafruit/circuitpython/pull/839.patch"},"body":"## Changes\r\nThis adds the `precise_time` module which exposes system ticks as an int.\r\n\r\nI'm pretty much just going off of `shared-bindings/time/` and https://github.com/adafruit/circuitpython/blob/master/docs/common_hal.md \r\n\r\nI basically copy-pasted the `common-hal/time/__init__.*` to `common-hal/precise_time/__init__.*`. Not sure if there's a way to get the `shared_bindings/precise_time` files to use the ones from `common-hal/time/` instead.\r\n\r\n## Testing\r\nSee comments. Manually tested only on gemma m0 board (that is the board I have).\r\n\r\n## Status\r\nAddressing review comments\r\n\r\n## Issue\r\nhttps://github.com/adafruit/circuitpython/issues/519 – More accurate time reporting"},"comment":{"url":"https://api.github.com/repos/adafruit/circuitpython/issues/comments/390746881","html_url":"https://github.com/adafruit/circuitpython/pull/839#issuecomment-390746881","issue_url":"https://api.github.com/repos/adafruit/circuitpython/issues/839","id":390746881,"user":{"login":"margaret","id":1811496,"avatar_url":"https://avatars1.githubusercontent.com/u/1811496?v=4","gravatar_id":"","url":"https://api.github.com/users/margaret","html_url":"https://github.com/margaret","followers_url":"https://api.github.com/users/margaret/followers","following_url":"https://api.github.com/users/margaret/following{/other_user}","gists_url":"https://api.github.com/users/margaret/gists{/gist_id}","starred_url":"https://api.github.com/users/margaret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/margaret/subscriptions","organizations_url":"https://api.github.com/users/margaret/orgs","repos_url":"https://api.github.com/users/margaret/repos","events_url":"https://api.github.com/users/margaret/events{/privacy}","received_events_url":"https://api.github.com/users/margaret/received_events","type":"User","site_admin":false},"created_at":"2018-05-21T18:48:58Z","updated_at":"2018-05-21T18:48:58Z","author_association":"NONE","body":"@jepler My initial thought is that something like option 1 would be a nicer interface from the user's POV since they won't have to write their own logic to handle the switch every 12 days"}}
{"actor":{"display_login":"margaret"}}