Can't use io1 on toolboard like gpIn?
-
Because I define
M950 J4 C "!^31.io1.in"; Input 4 for trigger
Then I look at the state of the input with the command
M409 K "sensors.gpIn [4]" And I always get "result": { "value": 0 }
But if I define an input on the motherboard:
M950 J4 C"!^io6.in"
then when I close input to the ground I can see a change in state.
-
I would like to just understand these limitations in the firmware, or am I just doing something wrong?
It's just that the wires are already routed into the printer. It's not difficult for me to redo it, but maybe it should work?
Maybe someone knows?
-
@Dep said in Can't use io1 on toolboard like gpIn?:
M950 J4 C "!^31.io1.in"; Input 4 for trigger
Try removing the space between C and ".
Hint: run M98 P"config.g" to detect errors in config.g.
-
I think a space appeared when copying or the translator inserted it
Because value on gpin is "0" not null.
As I understand it, there are no restrictions and should work. Thanks, I'll check the wires and commands.