{"action":"created","issue":{"url":"https://api.github.com/repos/PaulStoffregen/XPT2046_Touchscreen/issues/1","labels_url":"https://api.github.com/repos/PaulStoffregen/XPT2046_Touchscreen/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/PaulStoffregen/XPT2046_Touchscreen/issues/1/comments","events_url":"https://api.github.com/repos/PaulStoffregen/XPT2046_Touchscreen/issues/1/events","html_url":"https://github.com/PaulStoffregen/XPT2046_Touchscreen/pull/1","id":112285983,"number":1,"title":"Change Update point tests","user":{"login":"Defragster","id":8165609,"avatar_url":"https://avatars.githubusercontent.com/u/8165609?v=3","gravatar_id":"","url":"https://api.github.com/users/Defragster","html_url":"https://github.com/Defragster","followers_url":"https://api.github.com/users/Defragster/followers","following_url":"https://api.github.com/users/Defragster/following{/other_user}","gists_url":"https://api.github.com/users/Defragster/gists{/gist_id}","starred_url":"https://api.github.com/users/Defragster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Defragster/subscriptions","organizations_url":"https://api.github.com/users/Defragster/orgs","repos_url":"https://api.github.com/users/Defragster/repos","events_url":"https://api.github.com/users/Defragster/events{/privacy}","received_events_url":"https://api.github.com/users/Defragster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-20T04:44:39Z","updated_at":"2015-10-26T05:25:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PaulStoffregen/XPT2046_Touchscreen/pulls/1","html_url":"https://github.com/PaulStoffregen/XPT2046_Touchscreen/pull/1","diff_url":"https://github.com/PaulStoffregen/XPT2046_Touchscreen/pull/1.diff","patch_url":"https://github.com/PaulStoffregen/XPT2046_Touchscreen/pull/1.patch"},"body":": Set msraw only when storing valid data, that delays next read\r\n: Truncate SPI when first X==0 indicates no touch\r\n: calc best 2 of 3 readings for X and Y independently\r\n\r\n<edit> just noticed besttwoavg() is all int32_t and needs only int16_t"},"comment":{"url":"https://api.github.com/repos/PaulStoffregen/XPT2046_Touchscreen/issues/comments/151027919","html_url":"https://github.com/PaulStoffregen/XPT2046_Touchscreen/pull/1#issuecomment-151027919","issue_url":"https://api.github.com/repos/PaulStoffregen/XPT2046_Touchscreen/issues/1","id":151027919,"user":{"login":"Defragster","id":8165609,"avatar_url":"https://avatars.githubusercontent.com/u/8165609?v=3","gravatar_id":"","url":"https://api.github.com/users/Defragster","html_url":"https://github.com/Defragster","followers_url":"https://api.github.com/users/Defragster/followers","following_url":"https://api.github.com/users/Defragster/following{/other_user}","gists_url":"https://api.github.com/users/Defragster/gists{/gist_id}","starred_url":"https://api.github.com/users/Defragster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Defragster/subscriptions","organizations_url":"https://api.github.com/users/Defragster/orgs","repos_url":"https://api.github.com/users/Defragster/repos","events_url":"https://api.github.com/users/Defragster/events{/privacy}","received_events_url":"https://api.github.com/users/Defragster/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T05:25:57Z","updated_at":"2015-10-26T05:25:57Z","body":"Paul:\r\nCompiler warning from early exit needs this line (#108) added to squelch it:\r\n\telse data[0] = data[1] = data[2] = data[3] = 0;\t// Compiler warns these values may be used unset on early exit.\r\n\r\nThese were quiet on test app - but kept showing as I was debugging Frank's Tetris code.  I used the PULL version in Frank's code and it is working."}}