Sent by Joseph Wohl (josephwohl22@gmail.com). Created by fire.
Hello,
I am trying to build a DCC-ex module with built in physical controls, I currently have a arduino mega2560 and deek-robot motor shield configured correctly. in addition, I have a pushbutton connecting pin 2 to ground and have configured said pin and get <Q 1> and <q 1> from the serial monitor when I press the button, how do I make the button do things? for example, use the button's state to activate the <0> and <1> command respectively.
Sent by Joseph Wohl (josephwohl22@gmail.com). Created by fire.
Hello,
I am trying to build a DCC-ex module with built in physical controls, I currently have a arduino mega2560 and deek-robot motor shield configured correctly. in addition, I have a pushbutton connecting pin 2 to ground and have configured said pin and get <Q 1> and <q 1> from the serial monitor when I press the button, how do I make the button do things? for example, use the button's state to activate the <0> and <1> command respectively.
Thanks!