960 likes | 1.12k Views
Start EasyC. “Main” automatically created for us. Configuration. Double-click Config See Picture Label Motor Ports Empty Left Front Drive Motor Left Rear Drive Motor Right Front Drive Motor Right Rear Drive Motor Lift Motor Claw SERVO Add “Invert Me” Reminder to names later if needed
E N D
Configuration • Double-click Config • See Picture • Label Motor Ports • Empty • Left Front Drive Motor • Left Rear Drive Motor • Right Front Drive Motor • Right Rear Drive Motor • Lift Motor • Claw SERVO • Add “Invert Me” Reminder to names later if needed • OK or Enter to return to Main
“Motor Module” default window opens Change Motor Number to “2” Change Motor Direction to “Stop” 2
Modify this seconds Motor Module Change Motor Number to “3” Change Motor Direction to “Stop” 3
2 3
Select the “Program Flow” group 2 3 4 5
See the “Comment” Function Block 2 3 4 5
Select Comment 2 3 4 5
Click & Drag onto the Flowchart Line 2 3 4 Enter a useful comment into the pop-up window 5
Comments involve style – Use them to help, not punish 2 3 4 5
Added a Comment about the Claw Servo 2 3 4 5 6
Click-&-Drag a Servo Function Block onto the Flowchart 7 2 3 4 5 Using 0 will “center” the Servo. You should experiment to find a good value between -127 & +127 for your robot. 6
Initialization is Done (except for servo experiment results) 2 3 4 5 6 7
Make, Xmitter, Jstck, Motor Port & Inversion assignments 2 4 3 5 You have a Single Transmitter Under the Transmitter heading the “Joystick” label is unclear. You pick a Transmitter (1 or 2) there, not a Transmitter Channel. (1 thru 8)