{"action":"created","issue":{"url":"https://api.github.com/repos/cyclingProfessor/DriverlessCar/issues/1","repository_url":"https://api.github.com/repos/cyclingProfessor/DriverlessCar","labels_url":"https://api.github.com/repos/cyclingProfessor/DriverlessCar/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/cyclingProfessor/DriverlessCar/issues/1/comments","events_url":"https://api.github.com/repos/cyclingProfessor/DriverlessCar/issues/1/events","html_url":"https://github.com/cyclingProfessor/DriverlessCar/issues/1","id":306242599,"node_id":"MDU6SXNzdWUzMDYyNDI1OTk=","number":1,"title":"No need to remove any I2C bytes from the buffer.","user":{"login":"Koepel","id":12096541,"node_id":"MDQ6VXNlcjEyMDk2NTQx","avatar_url":"https://avatars3.githubusercontent.com/u/12096541?v=4","gravatar_id":"","url":"https://api.github.com/users/Koepel","html_url":"https://github.com/Koepel","followers_url":"https://api.github.com/users/Koepel/followers","following_url":"https://api.github.com/users/Koepel/following{/other_user}","gists_url":"https://api.github.com/users/Koepel/gists{/gist_id}","starred_url":"https://api.github.com/users/Koepel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Koepel/subscriptions","organizations_url":"https://api.github.com/users/Koepel/orgs","repos_url":"https://api.github.com/users/Koepel/repos","events_url":"https://api.github.com/users/Koepel/events{/privacy}","received_events_url":"https://api.github.com/users/Koepel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-18T13:58:40Z","updated_at":"2018-06-06T09:38:57Z","closed_at":"2018-06-06T08:23:46Z","author_association":"NONE","body":"In the file \"DriverlessCar/camera/Arduino/ReadAsMaster/ReadAsMaster.ino\", the garbage bytes are tossed away when the amount of requested bytes was not received. That is not needed.\r\n\r\nThe Wire library uses packets of data (although it uses the Arduino Stream class).\r\nEvery new Wire.requestFrom() and Wire.beginTransmission() starts with an empty buffer."},"comment":{"url":"https://api.github.com/repos/cyclingProfessor/DriverlessCar/issues/comments/395009092","html_url":"https://github.com/cyclingProfessor/DriverlessCar/issues/1#issuecomment-395009092","issue_url":"https://api.github.com/repos/cyclingProfessor/DriverlessCar/issues/1","id":395009092,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTAwOTA5Mg==","user":{"login":"Koepel","id":12096541,"node_id":"MDQ6VXNlcjEyMDk2NTQx","avatar_url":"https://avatars3.githubusercontent.com/u/12096541?v=4","gravatar_id":"","url":"https://api.github.com/users/Koepel","html_url":"https://github.com/Koepel","followers_url":"https://api.github.com/users/Koepel/followers","following_url":"https://api.github.com/users/Koepel/following{/other_user}","gists_url":"https://api.github.com/users/Koepel/gists{/gist_id}","starred_url":"https://api.github.com/users/Koepel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Koepel/subscriptions","organizations_url":"https://api.github.com/users/Koepel/orgs","repos_url":"https://api.github.com/users/Koepel/repos","events_url":"https://api.github.com/users/Koepel/events{/privacy}","received_events_url":"https://api.github.com/users/Koepel/received_events","type":"User","site_admin":false},"created_at":"2018-06-06T09:38:57Z","updated_at":"2018-06-06T09:38:57Z","author_association":"NONE","body":"Did something change ? I can not find it anymore. I think you used the word \"garbage\" in that file. Was it in another file, or is there a mix-up of Wire.avaible() and Serial.available() ? I was only talking about the I2C bus and the Wire library."}}
{"actor":{"display_login":"Koepel"}}