If you only want the motor to run when all 9 buttons are pressed (who is going to press them?) it would be easiest to add all the results from all the digitalRead()s. If the total is not 9 then move the servo to 0 degrees.
...R
If you only want the motor to run when all 9 buttons are pressed (who is going to press them?) it would be easiest to add all the results from all the digitalRead()s. If the total is not 9 then move the servo to 0 degrees.
...R