1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-02-20 14:54:31 +01:00

added a better configurarion string for the line following example

This commit is contained in:
dcuartielles 2013-05-17 13:22:19 +02:00 committed by Cristian Maglie
parent 82511def8e
commit aa800e8b0e

View File

@ -41,7 +41,9 @@ void setup() {
Robot.waitContinue();
// These are some general values that work for line following
Robot.lineFollowConfig(11, 5, 50, 10);
// uncomment one or the other to see the different behaviors of the robot
// Robot.lineFollowConfig(11, 5, 50, 10);
Robot.lineFollowConfig(14, 9, 50, 10);
//set the motor board into line-follow mode
Robot.setMode(MODE_LINE_FOLLOW);