{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/249","labels_url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/249/comments","events_url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/249/events","html_url":"https://github.com/MarlinFirmware/MarlinDev/pull/249","id":112745527,"number":249,"title":"Print Counter","user":{"login":"RicardoGA","id":5200719,"avatar_url":"https://avatars.githubusercontent.com/u/5200719?v=3","gravatar_id":"","url":"https://api.github.com/users/RicardoGA","html_url":"https://github.com/RicardoGA","followers_url":"https://api.github.com/users/RicardoGA/followers","following_url":"https://api.github.com/users/RicardoGA/following{/other_user}","gists_url":"https://api.github.com/users/RicardoGA/gists{/gist_id}","starred_url":"https://api.github.com/users/RicardoGA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RicardoGA/subscriptions","organizations_url":"https://api.github.com/users/RicardoGA/orgs","repos_url":"https://api.github.com/users/RicardoGA/repos","events_url":"https://api.github.com/users/RicardoGA/events{/privacy}","received_events_url":"https://api.github.com/users/RicardoGA/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/labels/PR%20New%20Feature","name":"PR New Feature","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-10-22T07:24:59Z","updated_at":"2015-10-28T18:04:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/pulls/249","html_url":"https://github.com/MarlinFirmware/MarlinDev/pull/249","diff_url":"https://github.com/MarlinFirmware/MarlinDev/pull/249.diff","patch_url":"https://github.com/MarlinFirmware/MarlinDev/pull/249.patch"},"body":"Adds the function to store the number of prints in the EEPROM . Is based\r\nin the code of @iashwinprasada with a few changes to make it work\r\nindependently if you have or not enable the EEPROM Settings.\r\n\r\nAlso i did a few changes in the way of implement this function with the\r\nlcd, now is ready to add this feature in different languages currently\r\nin (English and Spanish) need to translate the new menu\r\n(MSG_PRINT_COUNTER, MSG_PRINTS).\r\n\r\nThe new Gcodes are\r\n\r\nM504 - Retrieve the total number of prints\r\nM505 - Increase the print counter by 1\r\nM506 - Reset the print counter\r\n\r\nAnd you can check the number of prins with the lcd in:\r\n\r\nMenu\\Control\\Print Counter"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/comments/151934968","html_url":"https://github.com/MarlinFirmware/MarlinDev/pull/249#issuecomment-151934968","issue_url":"https://api.github.com/repos/MarlinFirmware/MarlinDev/issues/249","id":151934968,"user":{"login":"KiteLab","id":10833311,"avatar_url":"https://avatars.githubusercontent.com/u/10833311?v=3","gravatar_id":"","url":"https://api.github.com/users/KiteLab","html_url":"https://github.com/KiteLab","followers_url":"https://api.github.com/users/KiteLab/followers","following_url":"https://api.github.com/users/KiteLab/following{/other_user}","gists_url":"https://api.github.com/users/KiteLab/gists{/gist_id}","starred_url":"https://api.github.com/users/KiteLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiteLab/subscriptions","organizations_url":"https://api.github.com/users/KiteLab/orgs","repos_url":"https://api.github.com/users/KiteLab/repos","events_url":"https://api.github.com/users/KiteLab/events{/privacy}","received_events_url":"https://api.github.com/users/KiteLab/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T18:04:43Z","updated_at":"2015-10-28T18:04:43Z","body":"You dom't need a third counter for the unfinished (stopped) prints.\r\nThe difference between the regularly finished and the started prints is the number of uncompleted prints."}}