Light up macro buttons
GeckoBox3D last edited by GeckoBox3D
I'm looking to add some macro buttons to the printer. I know how to set it up (momentary button or endstop which triggers a macro) but the buttons also have an LED ring.
What would be the best way to wire this up to light up with the button press? They have 4 leads coming out of the button, two for the button itself and 2 for the LED.
See https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins. Don't forget to add a series resistor for the LED if the switch doesn't have one built in.