Go Down

Topic: Executing different part of sketch on button press (Read 436 times) previous topic - next topic

UKHeliBob

Code: [Select]
       digitalWrite(9, HIGH);  //Engage the Brake for Channel A
        digitalWrite(9, HIGH);  //Engage the Brake for Channel B

This mistake (3 times) probably came from your cut and paste.
Can I suggest that you give the motor control pins names.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.


Go Up