1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Merge pull request #1560 from X-Y/master

Added line follow parameters for older Arduino Robots.
This commit is contained in:
Cristian Maglie 2013-09-01 03:08:59 -07:00
commit e342e5f9d0
2 changed files with 3 additions and 2 deletions

View File

@ -42,9 +42,10 @@ void setup() {
// These are some general values that work for line following
// 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);
Robot.lineFollowConfig(11, 7, 60, 5);
//set the motor board into line-follow mode
Robot.setMode(MODE_LINE_FOLLOW);

View File

@ -54,7 +54,7 @@ void setup(){
// use this to calibrate the line following algorithm
// 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);
Robot.lineFollowConfig(11, 7, 60, 5);
// run the rescue sequence