{"action":"created","issue":{"url":"https://api.github.com/repos/whaleygeek/bitio/issues/20","repository_url":"https://api.github.com/repos/whaleygeek/bitio","labels_url":"https://api.github.com/repos/whaleygeek/bitio/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/whaleygeek/bitio/issues/20/comments","events_url":"https://api.github.com/repos/whaleygeek/bitio/issues/20/events","html_url":"https://github.com/whaleygeek/bitio/issues/20","id":268711839,"number":20,"title":"can't set serial port","user":{"login":"titimoby","id":348156,"avatar_url":"https://avatars2.githubusercontent.com/u/348156?v=4","gravatar_id":"","url":"https://api.github.com/users/titimoby","html_url":"https://github.com/titimoby","followers_url":"https://api.github.com/users/titimoby/followers","following_url":"https://api.github.com/users/titimoby/following{/other_user}","gists_url":"https://api.github.com/users/titimoby/gists{/gist_id}","starred_url":"https://api.github.com/users/titimoby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titimoby/subscriptions","organizations_url":"https://api.github.com/users/titimoby/orgs","repos_url":"https://api.github.com/users/titimoby/repos","events_url":"https://api.github.com/users/titimoby/events{/privacy}","received_events_url":"https://api.github.com/users/titimoby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-26T10:43:24Z","updated_at":"2017-10-26T14:55:30Z","closed_at":null,"author_association":"NONE","body":"(Ubuntu 17.04, user added to dialout group)\r\nAfter flashing bitio.hex I launched counter.py but it loops through a cycle:\r\n\r\n> No micro:bit has previously been detected\r\n> Scanning for serial ports\r\n> remove device, then press ENTER\r\n> scanning...\r\n> found 98 device(s)\r\n> plug in device, then press ENTER\r\n> scanning...\r\n> found 99 device(s)\r\n> found 1 new device\r\n> selected:/dev/ttyACM0\r\n> Do you want this device to be remembered? (Y/N)Y\r\n> connecting...\r\n> warning:Could not open the serial port that was remembered from last time\r\n> Scanning for serial ports\r\n> remove micro:bit, then press ENTER\r\n> scanning...\r\n> found 98 micro:bit(s)\r\n> plug in micro:bit, then press ENTER\r\n> scanning...\r\n> found 99 micro:bit(s)\r\n> found 1 new micro:bit\r\n> selected:/dev/ttyACM0\r\n> Do you want this micro:bit to be remembered? (Y/N)Y\r\n> warning:Could not open the serial port that was remembered from last time\r\n> Scanning for serial ports\r\n> remove micro:bit, then press ENTER\r\n> scanning...\r\n> found 98 micro:bit(s)\r\n> plug in micro:bit, then press ENTER\r\n> scanning...\r\n> found 99 micro:bit(s)\r\n> found 1 new micro:bit\r\n> selected:/dev/ttyACM0\r\n> Do you want this micro:bit to be remembered? (Y/N)Y\r\n> warning:Could not open the serial port that was remembered from last time\r\n> Scanning for serial ports\r\n> remove micro:bit, then press ENTER\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/whaleygeek/bitio/issues/comments/339693137","html_url":"https://github.com/whaleygeek/bitio/issues/20#issuecomment-339693137","issue_url":"https://api.github.com/repos/whaleygeek/bitio/issues/20","id":339693137,"user":{"login":"titimoby","id":348156,"avatar_url":"https://avatars2.githubusercontent.com/u/348156?v=4","gravatar_id":"","url":"https://api.github.com/users/titimoby","html_url":"https://github.com/titimoby","followers_url":"https://api.github.com/users/titimoby/followers","following_url":"https://api.github.com/users/titimoby/following{/other_user}","gists_url":"https://api.github.com/users/titimoby/gists{/gist_id}","starred_url":"https://api.github.com/users/titimoby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titimoby/subscriptions","organizations_url":"https://api.github.com/users/titimoby/orgs","repos_url":"https://api.github.com/users/titimoby/repos","events_url":"https://api.github.com/users/titimoby/events{/privacy}","received_events_url":"https://api.github.com/users/titimoby/received_events","type":"User","site_admin":false},"created_at":"2017-10-26T14:55:30Z","updated_at":"2017-10-26T14:55:30Z","author_association":"NONE","body":"I could connect using \"screen\" but I didn't see anything outgoing (but I imagine I need to push commands before)\r\n\r\n`thierry-laptop% python3 counter.py debug\r\nUsing path:/home/thierry/Dropbox/MixTeen/SoftShake2017/code/additional/microbit\r\nYay, I loaded the BITIO packaged pyserial\r\nwill reuse cache or scan for new port\r\nNo micro:bit has previously been detected\r\nScanning for serial ports\r\nremove device, then press ENTER\r\nscanning...\r\nfound 98 device(s)\r\nplug in device, then press ENTER\r\nscanning...\r\nfound 99 device(s)\r\nfound 1 new device\r\nselected:/dev/ttyACM0\r\nDo you want this device to be remembered? (Y/N)Y\r\nconnecting...\r\ngetting active serial port connection to micro:bit\r\nwarning:Could not open the serial port that was remembered from last time\r\nScanning for serial ports\r\nremove micro:bit, then press ENTER`"}}
{"actor":{"display_login":"titimoby"}}