Hi All,
I've currently adapted the code for the Adafruit motor shield to run where I'd like w/ my stepper. I'm creating the "OH SO CREATIVE" automatic dog feeder however; I'm trying to learn whilst I create. Here's where I'm stuck;
I want to simply integrate a push button that will run the code when pressed ONCE. I am using the exit function to end my loop and implementing a pull down resistor for my button... My stepper code works just like I'd like it to. My pushbutton is useless and I can't seem to figure out why it won't cooperate. I'm wondering if possibly I'm using the wrong pins or if my code is incomplete. (It will verify and upload as is)
It seems most examples call an output but with the motor shield, this is M3 & M4, not a pin. Could this be affecting it?