Merge branch 'develop' into main
This commit is contained in:
commit
a84a2ceb58
|
|
@ -0,0 +1,21 @@
|
|||
#include "MeOrion.h"
|
||||
|
||||
MeDCMotor leftMotor(9);
|
||||
MeDCMotor rightMotor(10);
|
||||
|
||||
uint8_t motorSpeed = 100;
|
||||
|
||||
void setup()
|
||||
{
|
||||
leftMotor.run(0);
|
||||
rightMotor.run(0);
|
||||
}
|
||||
void loop()
|
||||
{
|
||||
leftMotor.run(motorSpeed);
|
||||
rightMotor.run(motorSpeed);
|
||||
delay(2000);
|
||||
leftMotor.stop();
|
||||
rightMotor.stop();
|
||||
delay(2000);
|
||||
}
|
||||
Loading…
Reference in New Issue