Line Follower Coding Instructions - District 89 · Line Follower Coding Instructions Before you...
26
Line Follower Coding Instructions
Transcript of Line Follower Coding Instructions - District 89 · Line Follower Coding Instructions Before you...
Before you begin coding, you will need...
1. A cortex with at least 1 light sensor and 1 motor plugged into it
2. A charged battery
3. A USB cord
10. Click on the Motors Tab and type in where your motor is, (make sure to also change the Type to VEX 393)
18. You should see a window at the bottom of your screen with values for each sensor you have plugged in.
19. Experiment with covering and uncovering your light sensor, what happens to the value of the red numbers?
20. Find a threshold value for your line follower. This value should be less than the value while it is uncovered and more than the value while the sensor is covered with your hand. This will be the value you us in your code.