diff --git a/motion/motion.ino b/motion/motion.ino new file mode 100644 index 0000000..e617169 --- /dev/null +++ b/motion/motion.ino @@ -0,0 +1,21 @@ +#include "MeMCore.h" + +MeDCMotor motor1(9); + +MeDCMotor motor2(10); + + +void setup() { + // put your setup code here, to run once: + +} + +void loop() { + motor1.run(-100); + motor2.run(100); + delay(2000); + motor1.stop(); + motor2.stop(); + delay(2000); + +}