GPIO Pins / start of print job
under GPIO pins I have created a "run g-code on change" there I have inserted a g-code / print job. Is it possible to make it show it under "Dashboard"
or can you get it to print those that are in the queue, when it receives a signal from fx. GPIO17 ?
or can you get it to print those that are in the queue, when it receives a signal from fx. GPIO17 ?
Comments
What you should include there is something like these:
@startNextPrintInQueue
Start the next print in the job queue if no print is running and a print is waiting. If a print is running, but paused, it will act like the "continue" button.
@printModelById id
Start a stored g-code model with given id. You can see the id in the model summary.
@printModelByName modelName
Starts one of the models in the model g-code list. Make sure the name is unique, or you might get a different print.
Depending on what button should do. It has no influence on viewer.
Which @XXXX can you use if you want an output of e.g. GPIO27 when it's done printing?
Can I find more info about this?
As always thanks
- get_gpio_state(gpioName)
- get_gpio_pwm(gpioName)
For setting output generate the output in global settings just as for input. There you see also the server command to change output.Returns the state of a gpio pin with given name (from Global Setting->GPIO Pins, not BCM pin number). Works for digital outputs and inputs.
Returns the PWM value of a PWM output. Value range is 0..100.