@nightowl999
Yep, sorted.
The M950 line doesn't need the io0.in pin inverted
The M581 line S parameter needs to be changed to S0
...and I had the indents in the trigger2.g file wrong. Here's what it should look like:
; trigger2.g echo "Called at " ^ state.time G4 S1 ; delay 10ms to debounce if sensors.gpIn[9].value=1 echo "Debounce" M99 ; break out if sensor value is zero again (bouncing) if job.file.fileName !=null ; if there's a job filename then it's reasonably safe to say we are printing if global.PausePress == false ; the button hasn't been pressed so we'll pause echo "Pause" M25 ; pause the current toolpath else echo "Resume" ; resume the current toolpath M24Thanks, guys!