Adding a Toggle
GoremanX last edited by
When I have an M80 command in config.g, I get this handy "ATX" toggle on the DWC dashboard for turning the power supply on and off. It's a nice feature.
Is it possible to add other toggles? Perhaps something that turns a GPIO pin on and off? Like for example the "out9" fan pin that I use to control an external 110v outlet mounted on my printer? That would be really handy, too.
Right now it's a "fan" with a minimum speed of 255 so that I get a slider in DWC that turns the outlet on when it's set to anything but 0. This works, but it seems kludgy and I'd really like to have a neat toggle.