{"action":"opened","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/2721","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/2721/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/2721/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/2721/events","html_url":"https://github.com/arduino/Arduino/issues/2721","id":59403353,"number":2721,"title":"Tutorial TFTPong","user":{"login":"ArnauldDev","id":8237293,"avatar_url":"https://avatars.githubusercontent.com/u/8237293?v=3","gravatar_id":"","url":"https://api.github.com/users/ArnauldDev","html_url":"https://github.com/ArnauldDev","followers_url":"https://api.github.com/users/ArnauldDev/followers","following_url":"https://api.github.com/users/ArnauldDev/following{/other_user}","gists_url":"https://api.github.com/users/ArnauldDev/gists{/gist_id}","starred_url":"https://api.github.com/users/ArnauldDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArnauldDev/subscriptions","organizations_url":"https://api.github.com/users/ArnauldDev/orgs","repos_url":"https://api.github.com/users/ArnauldDev/repos","events_url":"https://api.github.com/users/ArnauldDev/events{/privacy}","received_events_url":"https://api.github.com/users/ArnauldDev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-01T16:22:37Z","updated_at":"2015-03-01T16:22:37Z","closed_at":null,"body":"http://arduino.cc/en/Tutorial/TFTPong\r\n\r\nI tested the sample code \"**Examples> TFT> Arduino> TFTPong**\" and I have to modify parameters in the following lines :\r\n  // map the paddle's location to the position of the potentiometers\r\n  paddleX = map(analogRead(A0), 512, -512, 0, myWidth) - 20 / 2;\r\n  paddleY = map(analogRead(A1), 512, -512, 0, myHeight) - 5 / 2;\r\nin\r\n  paddleX = map(analogRead(A0), 0, 1023, 0, myWidth) - 20 / 2;\r\n  paddleY = map(analogRead(A1), 0, 1023, 0, myHeight) - 5 / 2;\r\nfor example working properly ;-)\r\n\r\nThank you to correct on the site and in the IDE."}}