{"action":"opened","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/4696","repository_url":"https://api.github.com/repos/MarlinFirmware/Marlin","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/4696/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/4696/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/4696/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/4696","id":172851426,"number":4696,"title":"analogRead or extend Temperature::isr?","user":{"login":"thinkyhead","id":698003,"avatar_url":"https://avatars.githubusercontent.com/u/698003?v=3","gravatar_id":"","url":"https://api.github.com/users/thinkyhead","html_url":"https://github.com/thinkyhead","followers_url":"https://api.github.com/users/thinkyhead/followers","following_url":"https://api.github.com/users/thinkyhead/following{/other_user}","gists_url":"https://api.github.com/users/thinkyhead/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkyhead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkyhead/subscriptions","organizations_url":"https://api.github.com/users/thinkyhead/orgs","repos_url":"https://api.github.com/users/thinkyhead/repos","events_url":"https://api.github.com/users/thinkyhead/events{/privacy}","received_events_url":"https://api.github.com/users/thinkyhead/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Discussion:%20Developers","name":"Discussion: Developers","color":"FF77AA"},{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Support:%20Hardware","name":"Support: Hardware","color":"006b75"},{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Support:%20Question","name":"Support: Question","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T02:35:39Z","updated_at":"2016-08-24T02:35:39Z","closed_at":null,"body":"I need to add support for reading (yet another) analog sensor to Marlin. I notice analogRead is avoided, and I presume this is because it eats up too much time if you call it directly. So, is the ADC reading code in `Temperature::isr` the proper way to do it, and should I just add my new sensor there?\r\n\r\nAlso, the pin I want to use is defined (in the code of a Marlin fork) simply as \"A3\" – presumably from `fastio.h`. If I want to implement this for more than one board, how do I translate A3 to the specific pin number like we use in the pins files?"}}
{"actor":{"display_login":"thinkyhead"}}