Remote Control- RobotC
Channels 1-4
Channels 5-8
The Joystick Pressing up on the joystick completely returns values of 127 and -127 when positioned completely down. All in all the values are different depending on how far you press up or down.
RC motor power
RC motor power This command will give RC control to channel 2 on the cortex. The “RT” stands for radio transmitter.
Dual Control Go to FILE then OPEN SAMPLE PROGRAMS, find “Dual Joystick Control”. Notice that there is NO “WAIT” timer here in the loop. This would result in a delay. The condition in the while loop, “1==1” allows us infinite control over the robot. A loop with a condition that is ALWAYS true is called an INFINITE LOOP.
Half Power RC Control
Challenge Construct a program to navigate through the maze in the fastest time possible. We will have a time trial race to see who has the best driver skills time.