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:
parent
82511def8e
commit
aa800e8b0e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user