Extension of example/motion_minimum/motion_minimum added

This commit is contained in:
Prof.J.Wagner
2024-05-14 10:07:54 +02:00
parent 292e57032b
commit a4f9f69f1e

View File

@ -0,0 +1,19 @@
#include <Dezibot.h>
Dezibot dezibot = Dezibot();
const uint8_t MYFOO = 10;
void setup() {
dezibot.begin();
}
void loop() {
dezibot.motion.move();
delay(1000);
dezibot.motion.rotateAntiClockwise();
delay(1000);
dezibot.motion.rotateClockwise();
delay(1000);
dezibot.motion.stop();
delay(1000);
}