{"action":"closed","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/999","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/999/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/999/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/999/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/999","id":37516858,"number":999,"title":"end of filament detection","user":{"login":"rr2s","id":7683744,"avatar_url":"https://avatars.githubusercontent.com/u/7683744?v=3","gravatar_id":"","url":"https://api.github.com/users/rr2s","html_url":"https://github.com/rr2s","followers_url":"https://api.github.com/users/rr2s/followers","following_url":"https://api.github.com/users/rr2s/following{/other_user}","gists_url":"https://api.github.com/users/rr2s/gists{/gist_id}","starred_url":"https://api.github.com/users/rr2s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rr2s/subscriptions","organizations_url":"https://api.github.com/users/rr2s/orgs","repos_url":"https://api.github.com/users/rr2s/repos","events_url":"https://api.github.com/users/rr2s/events{/privacy}","received_events_url":"https://api.github.com/users/rr2s/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/labels/Feature%20request","name":"Feature request","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2014-07-09T22:53:24Z","updated_at":"2015-03-25T08:40:47Z","closed_at":"2015-03-25T08:40:47Z","body":"I would like to implement a function that would put marlin break at the detection end of the filament. \r\nI would really contributed to this framework and understand how to do it properly. \r\n\r\nWhere and how can I create a function that triggers a pause if the pin D1 and high state (normally unused pin on the ramps 1.4)."}}