(pltw 2.0 robot c)
#pragma config(Sensor, in2, potentiometer, sensorPotentiometer)
#pragma co...
Computers and Technology, 10.05.2021 02:00 bvallinab
(pltw 2.0 robot c)
#pragma config(Sensor, in2, potentiometer, sensorPotentiometer)
#pragma config(Sensor, dgtl1, bumpy, sensorTouch)
#pragma config(Sensor, dgtl2, bumpy2, sensorTouch)
#pragma config(Motor, port2, motor, tmotorVex393_MC29, openLoop)
//**//
task main()
{
untilTouch(dgtl11);
startMotor(port2, 63.5);
waitInMilliseconds(100);
stopMotor(port2);
untilTouch(dgtl12);
backward(63.5);
stopMotor(port2);
}
Basically I need it when I touch one button It moves the motor for 100 milliseconds stopping at the booth then when I touch the other button (theres two) it goes back to the default position. I just need to know what I did wrong since it only wants to go backwards then it does nothing please help.
Answers: 3
Computers and Technology, 22.06.2019 11:30
One subtask in the game is to roll the dice. explain why is roll the dice an abstraction.
Answers: 3
Computers and Technology, 23.06.2019 01:30
Negative methods of behavior correction include all but this: sarcasm verbal abuse setting an example for proper behavior humiliation
Answers: 1
Computers and Technology, 23.06.2019 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
Mathematics, 24.11.2021 16:30
Social Studies, 24.11.2021 16:30
Mathematics, 24.11.2021 16:30
History, 24.11.2021 16:30
Mathematics, 24.11.2021 16:30
Mathematics, 24.11.2021 16:30
Biology, 24.11.2021 16:30
Mathematics, 24.11.2021 16:30
Mathematics, 24.11.2021 16:30
Mathematics, 24.11.2021 16:30