Welcome! Log In Create A New Profile

Advanced

Configuring AUX 1 pins as Input GPIO to trigger internal Gcode loop within marlin

Posted by Paavanan 
Configuring AUX 1 pins as Input GPIO to trigger internal Gcode loop within marlin
October 05, 2020 02:52AM
I have been trying to configure AUX 1 pins (pin D1) to become an input pin that would trigger a specific set of Gcode and once the command is completed, it would wait for another trigger of the pin D1. I have defined the pin number in pins.h but not sure how to define it as an input pin or set the immediate Gcode command using the enqueque_and_echo_commands_P (pgcode). I hope someone would enlighten me with the procedure.

Thanks a tonne.

Paavanan
(An Average Joe)
Sorry, only registered users may post in this forum.

Click here to login