introduced possibility to run move commands without timelimit
This commit is contained in:
1 parent
45977c95b9
commit
c8f7e95363
6 files changed
+78
-55
No files matched your search
@@ -1,18 +0,0 @@
|
||||
#include <Dezibot.h>
|
||||
|
||||
Dezibot dezibot = Dezibot();
|
||||
const uint8_t MYFOO = 10;
|
||||
void setup() {
|
||||
dezibot.begin();
|
||||
|
||||
}
|
||||
|
||||
void loop() {
|
||||
dezibot.multiColorLight.setLed(TOP_LEFT,0x000000FF);
|
||||
dezibot.multiColorLight.setLed(TOP_RIGHT,dezibot.multiColorLight.color(0,100,0));
|
||||
dezibot.multiColorLight.blink(10,0x00FF0000,BOTTOM,500);
|
||||
|
||||
delay(1000);
|
||||
dezibot.multiColorLight.turnOff(ALL);
|
||||
delay(1000);
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
File renamed without changes.
@@ -1,5 +0,0 @@
|
||||
#include "Dezibot.h"
|
||||
|
||||
int main(){
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user