This commit is contained in:
rio.loann 2023-04-24 08:25:32 +02:00
parent 04aa30a49b
commit 903d3cb88d
2 changed files with 21 additions and 9 deletions

View File

@ -1,9 +0,0 @@
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}

21
motion/motion.ino Normal file
View File

@ -0,0 +1,21 @@
#include <MeMCore.h>
MeDCMotor _leftMoto(9);
MeDCMotor _rightMoto(10);
void setup()
{
_leftMotor.run(0);
_rightMotor.run(0);
}
void loop()
{
_leftMotor.run(0);
_rightMotor.run(0);
delay(50);
_leftMotor.stop();
_rightMotor.stop();
}