@phaedrux said in Duet 2 trigger device from Gcode:

take a look here

https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins

Thanks for the information. I must have read this document several times already. It summarizes the method for defining pins well.

I think I'll use the CS5 pin to ground for my application. The hiccup I've had in the literature is finding out what the supplies voltages are. Based on the referenced document, there is no PWM and I believe the output is 3.3V when triggered for CS5 pin.