Trigger macro stopped working
-
After update from I think 3.0 to 3.3 my code that toggled LEDs on button press stopped working.
Here's my config.g responsible part:M950 J0 C"^e0stop" ; E0 input with pull-up M581 P"^e0stop" T2 S0 ; LED button
Here's my trigger2.g
if fans[2].requestedValue > 0.0 M106 P2 S0.0 else M106 P2 S1.0
What should be changed?
-
@matixyo I may be wrong , but the led on the end stops of the duet 2 are hardware.
AND M581 P"^e0stop" T2 S0 , should that be M581 P0 ?
-
@peter247 Yeah, that's what had to be changed