{"action":"created","issue":{"url":"https://api.github.com/repos/MrYsLab/PyMata/issues/37","repository_url":"https://api.github.com/repos/MrYsLab/PyMata","labels_url":"https://api.github.com/repos/MrYsLab/PyMata/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/MrYsLab/PyMata/issues/37/comments","events_url":"https://api.github.com/repos/MrYsLab/PyMata/issues/37/events","html_url":"https://github.com/MrYsLab/PyMata/issues/37","id":301573898,"number":37,"title":"piezo_beep","user":{"login":"franjmt89","id":36971917,"avatar_url":"https://avatars0.githubusercontent.com/u/36971917?v=4","gravatar_id":"","url":"https://api.github.com/users/franjmt89","html_url":"https://github.com/franjmt89","followers_url":"https://api.github.com/users/franjmt89/followers","following_url":"https://api.github.com/users/franjmt89/following{/other_user}","gists_url":"https://api.github.com/users/franjmt89/gists{/gist_id}","starred_url":"https://api.github.com/users/franjmt89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franjmt89/subscriptions","organizations_url":"https://api.github.com/users/franjmt89/orgs","repos_url":"https://api.github.com/users/franjmt89/repos","events_url":"https://api.github.com/users/franjmt89/events{/privacy}","received_events_url":"https://api.github.com/users/franjmt89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-01T21:54:47Z","updated_at":"2018-03-02T14:38:55Z","closed_at":null,"author_association":"NONE","body":"Hi, I can use my loudspeaker with the piezo_beep, but I don't know why it doesn't work with very short tones. It works with as short as 50ms, but for shorter ones is not precise at all. What should I do?\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/MrYsLab/PyMata/issues/comments/369938006","html_url":"https://github.com/MrYsLab/PyMata/issues/37#issuecomment-369938006","issue_url":"https://api.github.com/repos/MrYsLab/PyMata/issues/37","id":369938006,"user":{"login":"franjmt89","id":36971917,"avatar_url":"https://avatars0.githubusercontent.com/u/36971917?v=4","gravatar_id":"","url":"https://api.github.com/users/franjmt89","html_url":"https://github.com/franjmt89","followers_url":"https://api.github.com/users/franjmt89/followers","following_url":"https://api.github.com/users/franjmt89/following{/other_user}","gists_url":"https://api.github.com/users/franjmt89/gists{/gist_id}","starred_url":"https://api.github.com/users/franjmt89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franjmt89/subscriptions","organizations_url":"https://api.github.com/users/franjmt89/orgs","repos_url":"https://api.github.com/users/franjmt89/repos","events_url":"https://api.github.com/users/franjmt89/events{/privacy}","received_events_url":"https://api.github.com/users/franjmt89/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T14:38:55Z","updated_at":"2018-03-02T14:38:55Z","author_association":"NONE","body":"I'm a very amateur user, so I'm not quite sure how to use the Arduino tone library. When I control the loudspeaker with the Arduino I can get a very precise tone duration. \r\nRight now this is how my code for the loudspeaker looks like:\r\n\r\ndef PlayTone(frequency, duration):\r\n    global speakerPin\r\n    board.play_tone(speakerPin, board.TONE_TONE, frequency, duration)\r\n\r\nAnd with this I can get a the frequency I want, but duration smaller than 100ms is not working very well."}}
{"actor":{"display_login":"franjmt89"}}