Hey, im trying to get a simple filament sensor working on my Duet but something is off, when i poll the sensor with M591 D0 i get, seemingly random, filament present yes or no, even if it is filament in the sensor.
This is the sensor i use:
This is the config i use:
M591 D0 P1 C"e0_stop" S1 ; filament monitor connected to E0_stop
Board: Duet WiFi 1.02 or later
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.0 (2020-01-03b3)
Duet WiFi Server Version: 1.23
Duet Web Control 2.0.4
How can i fix this?