Download presentation
Presentation is loading. Please wait.
Published byMuriel Sparks Modified over 9 years ago
1
Created by Blake Ross Start EasyC
2
Created by Blake Ross
9
“Main” automatically created for us
10
Created by Blake Ross Configuration Double-click Config See Picture Label Motor Ports 1.Empty 2.Left Front Drive Motor 3.Left Rear Drive Motor 4.Right Front Drive Motor 5.Right Rear Drive Motor 6.Lift Motor 7.Claw SERVO Add “Invert Me” Reminder to names later if needed OK or Enter to return to Main
11
Created by Blake Ross Back to “Main”
12
Created by Blake Ross “Initialize” subroutine automatically created for us
13
Created by Blake Ross “Autonomous” subroutine automatically created for us
14
Created by Blake Ross “OperatorControl” subroutine automatically created for us
15
Created by Blake Ross Add our instructions to Initialize
16
Created by Blake Ross Outputs are for sending commands to Motors, etc.
17
Created by Blake Ross Open Outputs
18
Created by Blake Ross Select “Motor”
19
Created by Blake Ross Click-&-Drag Motor onto flowchart line
20
Created by Blake Ross “Motor Module” default window opens 2 Change Motor Number to “2” Change Motor Direction to “Stop”
21
Created by Blake Ross Click-&-Drag another Motor Module 2
22
Created by Blake Ross Modify this seconds Motor Module Change Motor Number to “3” Change Motor Direction to “Stop” 3
23
Created by Blake Ross 2 3
24
Repeat for two more Motor Modules for Motors 4 & 5 54
25
Created by Blake Ross All “Drive” Motors will be init’ed to 0 = “Stop” 2 3 4 5
26
Created by Blake Ross Select the “Program Flow” group 2 3 4 5
27
Created by Blake Ross See the “Comment” Function Block 2 3 4 5
28
Created by Blake Ross Select Comment 2 3 4 5
29
Created by Blake Ross Click & Drag onto the Flowchart Line 2 3 4 5 Enter a useful comment into the pop-up window
30
Created by Blake Ross Comments involve style – Use them to help, not punish 2 3 4 5
31
Created by Blake Ross Added a comment about the “Lift Motor” 2 3 4 5
32
Created by Blake Ross Added a Motor Block to init the Lift to 0 = Stop 2 3 4 5 6
33
Created by Blake Ross Added a Comment about the Claw Servo 2 3 4 5 6
34
Created by Blake Ross Click-&-Drag a Servo Function Block onto the Flowchart 2 3 4 5 6 7 Using 0 will “center” the Servo. You should experiment to find a good value between -127 & +127 for your robot.
35
Created by Blake Ross Initialization is Done (except for servo experiment results) 2 3 4 5 6 7
36
Created by Blake Ross Switch to Operator Control – Notice the “While” Loop
37
Created by Blake Ross Select the Joystick
38
Created by Blake Ross See lots of Choices
39
Created by Blake Ross Pick 1 – I chose 4-Motor Arcade to keep the 2 nd Stick free
40
Created by Blake Ross Click & Drag 4-Motor Arcade to the While Loop
41
Created by Blake Ross Make, Xmitter, Jstck, Motor Port & Inversion assignments 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) 2 3 4 5
42
Created by Blake Ross
52
Insert a Comment to help you remember 2, 4, 3, 5 c
53
Created by Blake Ross Type the Comment info
54
Created by Blake Ross 2, 4, 3, 5
55
Created by Blake Ross Insert a comment for your Lift Motor 2, 4, 3, 5
56
Created by Blake Ross Chose to use a Button(s) to control the Lift Motor 2, 4, 3, 5
57
Created by Blake Ross Click & Drag c 2, 4, 3, 5
58
Created by Blake Ross Enter Transmitter, Button Channel, Motor Port & Inversion
59
Created by Blake Ross
60
2, 4, 3, 5
61
Created by Blake Ross
62
2, 4, 3, 5
63
Created by Blake Ross
72
2, 4, 3, 5
73
Created by Blake Ross 2, 4, 3, 5
74
Created by Blake Ross
78
2, 4, 3, 5
79
Created by Blake Ross
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.