{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/pxt/issues/961","repository_url":"https://api.github.com/repos/Microsoft/pxt","labels_url":"https://api.github.com/repos/Microsoft/pxt/issues/961/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/pxt/issues/961/comments","events_url":"https://api.github.com/repos/Microsoft/pxt/issues/961/events","html_url":"https://github.com/Microsoft/pxt/issues/961","id":196767401,"number":961,"title":"Serial Redirect","user":{"login":"jez-chaplin","id":23535080,"avatar_url":"https://avatars.githubusercontent.com/u/23535080?v=3","gravatar_id":"","url":"https://api.github.com/users/jez-chaplin","html_url":"https://github.com/jez-chaplin","followers_url":"https://api.github.com/users/jez-chaplin/followers","following_url":"https://api.github.com/users/jez-chaplin/following{/other_user}","gists_url":"https://api.github.com/users/jez-chaplin/gists{/gist_id}","starred_url":"https://api.github.com/users/jez-chaplin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jez-chaplin/subscriptions","organizations_url":"https://api.github.com/users/jez-chaplin/orgs","repos_url":"https://api.github.com/users/jez-chaplin/repos","events_url":"https://api.github.com/users/jez-chaplin/events{/privacy}","received_events_url":"https://api.github.com/users/jez-chaplin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-20T20:04:43Z","updated_at":"2016-12-20T20:21:36Z","closed_at":null,"body":"Hi, I'm trying to write out from the microbit to the sparkfun serial logger (openlog) - I can do this fine in micropython but via PXT it seems the 'serial redirect to' block is not altering the pinouts as specified, or of course I'm not doing it right....\r\n\r\nHas anyone else observed this behaviour?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/Microsoft/pxt/issues/comments/268348148","html_url":"https://github.com/Microsoft/pxt/issues/961#issuecomment-268348148","issue_url":"https://api.github.com/repos/Microsoft/pxt/issues/961","id":268348148,"user":{"login":"jez-chaplin","id":23535080,"avatar_url":"https://avatars.githubusercontent.com/u/23535080?v=3","gravatar_id":"","url":"https://api.github.com/users/jez-chaplin","html_url":"https://github.com/jez-chaplin","followers_url":"https://api.github.com/users/jez-chaplin/followers","following_url":"https://api.github.com/users/jez-chaplin/following{/other_user}","gists_url":"https://api.github.com/users/jez-chaplin/gists{/gist_id}","starred_url":"https://api.github.com/users/jez-chaplin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jez-chaplin/subscriptions","organizations_url":"https://api.github.com/users/jez-chaplin/orgs","repos_url":"https://api.github.com/users/jez-chaplin/repos","events_url":"https://api.github.com/users/jez-chaplin/events{/privacy}","received_events_url":"https://api.github.com/users/jez-chaplin/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T20:21:36Z","updated_at":"2016-12-20T20:21:36Z","body":"Just confirmed that this works as expected also:\r\n\r\n    uBit.init();\r\n    uBit.serial.baud(9600);\r\n    uBit.serial.redirect(MICROBIT_PIN_P0, MICROBIT_PIN_P1);\r\n    uBit.serial.send(\"A\\r\\n\");\r\n\r\nJust see your reply pelikhan, thanks, but not sure that that helps given my attempt above?"}}
{"actor":{"display_login":"jez-chaplin"}}