mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-04 17:51:41 +02:00
Release
This commit is contained in:
18
example/motion_minimum/motion_minimum.ino
Normal file
18
example/motion_minimum/motion_minimum.ino
Normal file
@ -0,0 +1,18 @@
|
||||
#include <Dezibot.h>
|
||||
|
||||
Dezibot dezibot = Dezibot();
|
||||
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