jakk
10-07-2006, 17:58
Hi,
I help teach a VEX class and I am having trouble programming the Arcade Mode into the robot.
void main(void)
{
while(1)
{
Arcade2(0,2,1,1,2,0,0);
}
}
This is just a sample. When I test the robot, it seems that Channel 1 controls motor port 1 and Channel 2 controls motor port 2. I don't want it like that. I want it like how the default program mixes Channel 1 and 2.
In the Default code, 12 mode mixes both channels. When you push forward, it goes straight, when you move sideways, it turns on a dime. I don't know how to program this type of drive mixing using easyC 2.0.
Someone please helpe me. I need an answer in 24 hours. Thank you very much.
I help teach a VEX class and I am having trouble programming the Arcade Mode into the robot.
void main(void)
{
while(1)
{
Arcade2(0,2,1,1,2,0,0);
}
}
This is just a sample. When I test the robot, it seems that Channel 1 controls motor port 1 and Channel 2 controls motor port 2. I don't want it like that. I want it like how the default program mixes Channel 1 and 2.
In the Default code, 12 mode mixes both channels. When you push forward, it goes straight, when you move sideways, it turns on a dime. I don't know how to program this type of drive mixing using easyC 2.0.
Someone please helpe me. I need an answer in 24 hours. Thank you very much.