idk
This commit is contained in:
parent
04aa30a49b
commit
903d3cb88d
|
|
@ -1,9 +0,0 @@
|
|||
void setup() {
|
||||
// put your setup code here, to run once:
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
// put your main code here, to run repeatedly:
|
||||
|
||||
}
|
||||
|
|
@ -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();
|
||||
}
|
||||
Loading…
Reference in New Issue