Merge branch 'feature/#5-motion' into feature/#16-find-a-friend

This commit is contained in:
hhaupt
2024-04-28 22:41:44 +02:00
6 changed files with 78 additions and 55 deletions

View File

@ -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.turnOffLed(ALL);
delay(1000);
}

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);
}

View File

@ -1,5 +0,0 @@
#include "Dezibot.h"
int main(){
return 0;
}