mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-05 18:14:31 +02:00
Extension of example/motion_minimum/motion_minimum added
This commit is contained in:
19
example/motion_minimum/motion_minimum.ino
Normal file
19
example/motion_minimum/motion_minimum.ino
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user