Post: More VEX Bull
01-29-2013, 04:48 PM #1
OneWound
I am error
(adsbygoogle = window.adsbygoogle || []).push({}); I'm back with more coding that won't work! Alright, in the code (below) I can get the first to motors to run, but the servo motor won't turn as its supposed to. I would also like (while 1==1) in there, but whenever I do only motor1 will turn. Any helps appreciated, thanks!
task main()
{
{
startMotor(motor1, 45);
wait(.3);
stopMotor(motor1);
wait(Cool Man (aka Tustin);
}
{
startMotor(motor2, 45);
wait(.5);
startMotor(motor2, -45);
wait(.5);
}
{
if (lightSensor <720)
setServo (servo, 20);
}
{
if (lightSensor >720)
setServo (servo, 40);
}
}
(adsbygoogle = window.adsbygoogle || []).push({});
01-30-2013, 06:19 AM #2
Pichu
RIP PICHU.
Um, more info please...
01-30-2013, 08:13 PM #3
OneWound
I am error
What do you want to know?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo