My students and I are trying to get a code for using a press button switch to run dragsters for 2-3 seconds. After we push the button, the motors will not turn on. we opened the sample code and modified it, but it will not work. Also, we watched videos and wrote our own code.
one robot the motors turned on, but the robot would not stop until you pushed the button again. I do not know what we are doing wrong. I have been using the vex v 5 coding and modkit. I forgot how to use robot c or I am leaving out a simple command with a punctuation or bracket to start and turn it off. Are limit switches easier than the button? I need serious help. Are there examples of the PLTW dragster or test bed code? I can’t find it.