{"action":"created","issue":{"url":"https://api.github.com/repos/mu-editor/mu/issues/501","repository_url":"https://api.github.com/repos/mu-editor/mu","labels_url":"https://api.github.com/repos/mu-editor/mu/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/mu-editor/mu/issues/501/comments","events_url":"https://api.github.com/repos/mu-editor/mu/issues/501/events","html_url":"https://github.com/mu-editor/mu/issues/501","id":335089339,"node_id":"MDU6SXNzdWUzMzUwODkzMzk=","number":501,"title":"mu microbit gesture \"shake\" not work","user":{"login":"piramid","id":5038487,"node_id":"MDQ6VXNlcjUwMzg0ODc=","avatar_url":"https://avatars3.githubusercontent.com/u/5038487?v=4","gravatar_id":"","url":"https://api.github.com/users/piramid","html_url":"https://github.com/piramid","followers_url":"https://api.github.com/users/piramid/followers","following_url":"https://api.github.com/users/piramid/following{/other_user}","gists_url":"https://api.github.com/users/piramid/gists{/gist_id}","starred_url":"https://api.github.com/users/piramid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piramid/subscriptions","organizations_url":"https://api.github.com/users/piramid/orgs","repos_url":"https://api.github.com/users/piramid/repos","events_url":"https://api.github.com/users/piramid/events{/privacy}","received_events_url":"https://api.github.com/users/piramid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-23T10:37:43Z","updated_at":"2018-06-25T03:08:40Z","closed_at":"2018-06-23T10:41:06Z","author_association":"NONE","body":"micro python \"mu-editor-beta16_win64.exe\"  in BBC micro bit function accelerometer.is_gesture(\"shake\") not work\r\n"},"comment":{"url":"https://api.github.com/repos/mu-editor/mu/issues/comments/399818172","html_url":"https://github.com/mu-editor/mu/issues/501#issuecomment-399818172","issue_url":"https://api.github.com/repos/mu-editor/mu/issues/501","id":399818172,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTgxODE3Mg==","user":{"login":"piramid","id":5038487,"node_id":"MDQ6VXNlcjUwMzg0ODc=","avatar_url":"https://avatars3.githubusercontent.com/u/5038487?v=4","gravatar_id":"","url":"https://api.github.com/users/piramid","html_url":"https://github.com/piramid","followers_url":"https://api.github.com/users/piramid/followers","following_url":"https://api.github.com/users/piramid/following{/other_user}","gists_url":"https://api.github.com/users/piramid/gists{/gist_id}","starred_url":"https://api.github.com/users/piramid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piramid/subscriptions","organizations_url":"https://api.github.com/users/piramid/orgs","repos_url":"https://api.github.com/users/piramid/repos","events_url":"https://api.github.com/users/piramid/events{/privacy}","received_events_url":"https://api.github.com/users/piramid/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T03:08:40Z","updated_at":"2018-06-25T03:08:40Z","author_association":"NONE","body":"On MAC OS is work but on Windows OS not work (mu-editor-beta16_win64.exe) . only **accelerometer.is_gesture(\"shake\")** not work\r\ncode:\r\nfrom microbit import *\r\nwhile True:\r\n    if accelerometer.is_gesture(\"up\"):\r\n        display.show(Image.ARROW_S)\r\n    elif accelerometer.is_gesture(\"right\"):\r\n        display.show(Image.ARROW_E)\r\n    elif accelerometer.is_gesture(\"down\"):\r\n        display.show(Image.ARROW_N)\r\n    elif accelerometer.is_gesture(\"left\"):\r\n        display.show(Image.ARROW_W)\r\n    elif accelerometer.is_gesture(\"shake\"):\r\n        display.show(Image.SAD)\r\n    else:\r\n        display.clear()\r\n    sleep(20)"}}
{"actor":{"display_login":"piramid"}}