{"action":"created","issue":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/588","repository_url":"https://api.github.com/repos/bbcmicrobit/micropython","labels_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/588/comments","events_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/588/events","html_url":"https://github.com/bbcmicrobit/micropython/pull/588","id":375124433,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NjQzNDc4","number":588,"title":"docs: Add info about UART read/write data formatting","user":{"login":"carlosperate","id":4189262,"node_id":"MDQ6VXNlcjQxODkyNjI=","avatar_url":"https://avatars0.githubusercontent.com/u/4189262?v=4","gravatar_id":"","url":"https://api.github.com/users/carlosperate","html_url":"https://github.com/carlosperate","followers_url":"https://api.github.com/users/carlosperate/followers","following_url":"https://api.github.com/users/carlosperate/following{/other_user}","gists_url":"https://api.github.com/users/carlosperate/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosperate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosperate/subscriptions","organizations_url":"https://api.github.com/users/carlosperate/orgs","repos_url":"https://api.github.com/users/carlosperate/repos","events_url":"https://api.github.com/users/carlosperate/events{/privacy}","received_events_url":"https://api.github.com/users/carlosperate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-29T17:13:25Z","updated_at":"2018-10-30T12:18:17Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/pulls/588","html_url":"https://github.com/bbcmicrobit/micropython/pull/588","diff_url":"https://github.com/bbcmicrobit/micropython/pull/588.diff","patch_url":"https://github.com/bbcmicrobit/micropython/pull/588.patch"},"body":"Fixes https://github.com/bbcmicrobit/micropython/issues/368.\r\n\r\nAdds info about how to format data to send and receive via UART.\r\nIt also edits the \"Keyboard Interrupt\" info to display it as a warning.\r\n\r\n@whaleygeek Based on the discussion #368, could you review when you get a chance?"},"comment":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/comments/434278126","html_url":"https://github.com/bbcmicrobit/micropython/pull/588#issuecomment-434278126","issue_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/588","id":434278126,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDI3ODEyNg==","user":{"login":"DavidWhaleMEF","id":25079586,"node_id":"MDQ6VXNlcjI1MDc5NTg2","avatar_url":"https://avatars1.githubusercontent.com/u/25079586?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidWhaleMEF","html_url":"https://github.com/DavidWhaleMEF","followers_url":"https://api.github.com/users/DavidWhaleMEF/followers","following_url":"https://api.github.com/users/DavidWhaleMEF/following{/other_user}","gists_url":"https://api.github.com/users/DavidWhaleMEF/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidWhaleMEF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidWhaleMEF/subscriptions","organizations_url":"https://api.github.com/users/DavidWhaleMEF/orgs","repos_url":"https://api.github.com/users/DavidWhaleMEF/repos","events_url":"https://api.github.com/users/DavidWhaleMEF/events{/privacy}","received_events_url":"https://api.github.com/users/DavidWhaleMEF/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T12:18:17Z","updated_at":"2018-10-30T12:18:17Z","author_association":"NONE","body":"This is what I get at the REPL when interacting with the V1.0 image:\r\n\r\n```>>> help(modules)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nNameError: name 'modules' is not defined\r\n>>> import micropython\r\n>>> help(micropython)\r\nobject <module 'micropython'> is of type module\r\n  __name__ -- micropython\r\n  const -- <function>\r\n  opt_level -- <function>\r\n  mem_info -- <function>\r\n  qstr_info -- <function>\r\n  stack_use -- <function>\r\n  heap_lock -- <function>\r\n  heap_unlock -- <function>\r\n  kbd_intr -- <function>\r\n>>> \r\n```\r\n\r\nI did a readthedocs search for mem_info and nothing was found. So I suspect the micropython module is undocumented on the micro:bit (and without help(modules) there is no way for a user to discover it exists, so it is unicorn dust (magic!))\r\n\r\n![screen shot 2018-10-30 at 12 16 54](https://user-images.githubusercontent.com/25079586/47717513-df2a3080-dc3d-11e8-9b89-66cfd4e9c927.png)\r\n\r\nShall I log a different ticket for that, would that help to keep this PR focused?\r\n\r\n"}}
{"actor":{"display_login":"DavidWhaleMEF"}}