Skip to content

Commit aa800e8

Browse files
dcuartiellescmaglie
dcuartielles
authored andcommitted
added a better configurarion string for the line following example
1 parent 82511de commit aa800e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: libraries/Robot_Control/examples/explore/R02_Line_Follow/R02_Line_Follow.ino

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ void setup() {
4141
Robot.waitContinue();
4242

4343
// These are some general values that work for line following
44-
Robot.lineFollowConfig(11, 5, 50, 10);
44+
// uncomment one or the other to see the different behaviors of the robot
45+
// Robot.lineFollowConfig(11, 5, 50, 10);
46+
Robot.lineFollowConfig(14, 9, 50, 10);
4547

4648
//set the motor board into line-follow mode
4749
Robot.setMode(MODE_LINE_FOLLOW);

0 commit comments

Comments
 (0)