{"action":"created","issue":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2907","labels_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2907/labels{/name}","comments_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2907/comments","events_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2907/events","html_url":"https://github.com/MarlinFirmware/Marlin/issues/2907","id":127245094,"number":2907,"title":"\"FILAMENT_RUNOUT_SENSOR\" do not work.","user":{"login":"famtory","id":16760980,"avatar_url":"https://avatars.githubusercontent.com/u/16760980?v=3","gravatar_id":"","url":"https://api.github.com/users/famtory","html_url":"https://github.com/famtory","followers_url":"https://api.github.com/users/famtory/followers","following_url":"https://api.github.com/users/famtory/following{/other_user}","gists_url":"https://api.github.com/users/famtory/gists{/gist_id}","starred_url":"https://api.github.com/users/famtory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/famtory/subscriptions","organizations_url":"https://api.github.com/users/famtory/orgs","repos_url":"https://api.github.com/users/famtory/repos","events_url":"https://api.github.com/users/famtory/events{/privacy}","received_events_url":"https://api.github.com/users/famtory/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-18T15:06:04Z","updated_at":"2016-01-19T14:21:51Z","closed_at":null,"body":"I can't speak english. I used google translate.\r\n======================================\r\nmarlin 1.1.0 rc3....\r\nconfiguration.h\r\n.\r\n.\r\n.\r\n//===========================================================================\r\n//========================= Filament Runout Sensor ==========================\r\n//===========================================================================\r\n#define FILAMENT_RUNOUT_SENSOR // Uncomment for defining a filament runout sensor such as a mechanical or opto endstop to check the existence of filament\r\n                                 // In RAMPS uses servo pin 2. Can be changed in pins file. For other boards pin definition should be made.\r\n                                 // It is assumed that when logic high = filament available\r\n                                 //                    when logic  low = filament ran out\r\n#if ENABLED(FILAMENT_RUNOUT_SENSOR)\r\n  const bool FIL_RUNOUT_INVERTING = true;  // Should be uncommented and true or false should assigned\r\n  #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.\r\n  #define FILAMENT_RUNOUT_SCRIPT \"M600\"\r\n#endif\r\n.\r\n.\r\n.\r\nI use microswitch.\r\n.\r\nI try D4, D5, D6 and D11.\r\nand.\r\nconst bool FIL_RUNOUT_INVERTING = false;  // Should be uncommented and true or false should assigned\r\nand.\r\n//  #define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.\r\n.\r\nwhen I microswitch on or off...does not happen anything.\r\n.\r\n====\r\nI used marlin 1.0.6 and D42 ( http://forums.reprap.org/read.php?1,297350 )\r\nIt was work well.\r\n"},"comment":{"url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/comments/172868310","html_url":"https://github.com/MarlinFirmware/Marlin/issues/2907#issuecomment-172868310","issue_url":"https://api.github.com/repos/MarlinFirmware/Marlin/issues/2907","id":172868310,"user":{"login":"Roxy-3DPrintBoard","id":8404322,"avatar_url":"https://avatars.githubusercontent.com/u/8404322?v=3","gravatar_id":"","url":"https://api.github.com/users/Roxy-3DPrintBoard","html_url":"https://github.com/Roxy-3DPrintBoard","followers_url":"https://api.github.com/users/Roxy-3DPrintBoard/followers","following_url":"https://api.github.com/users/Roxy-3DPrintBoard/following{/other_user}","gists_url":"https://api.github.com/users/Roxy-3DPrintBoard/gists{/gist_id}","starred_url":"https://api.github.com/users/Roxy-3DPrintBoard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roxy-3DPrintBoard/subscriptions","organizations_url":"https://api.github.com/users/Roxy-3DPrintBoard/orgs","repos_url":"https://api.github.com/users/Roxy-3DPrintBoard/repos","events_url":"https://api.github.com/users/Roxy-3DPrintBoard/events{/privacy}","received_events_url":"https://api.github.com/users/Roxy-3DPrintBoard/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T14:21:51Z","updated_at":"2016-01-19T14:21:51Z","body":"@famtory   You need to KNOW what pin you have things connected.  Do you have a volt meter or a logic probe?   If you connect it to your pin, you should be able to use M42 P? S0 followed by a M42 P? S1 to see the pin toggle.\r\n\r\nWhen you know a pin number you can connect to and toggle, we can help you more.\r\n"}}