This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ArduLite.h> | |
#include <ArduLiteTime.h> | |
// Sensors | |
Digital leftSensor(2, IN); | |
Digital rightSensor(3, IN); | |
// DC Motors | |
PWM leftMotor1(5); | |
PWM leftMotor2(6); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ArduLite.h> | |
// Sensors | |
Digital leftSensor(2, IN); | |
Digital rightSensor(3, IN); | |
// DC Motors | |
PWM leftMotor1(5); | |
PWM leftMotor2(6); | |
PWM rightMotor1(9); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ArduLite.h> | |
// Sensors | |
Digital leftSensor(2, IN); | |
Digital rightSensor(3, IN); | |
// DC Motors | |
PWM leftMotor1(5); | |
PWM leftMotor2(6); | |
PWM rightMotor1(9); |