add advanced example Find a Friend

This commit is contained in:
Anina Morgner 2024-06-12 21:17:51 +02:00
parent 16c63dcdd4
commit cb196def6c
2 changed files with 17 additions and 12 deletions

View File

@ -0,0 +1,17 @@
#include "Dezibot.h"
Dezibot dezibot = Dezibot();
const int centeredThreshold = 50 ;
void setup() {
// put your setup code here, to run once:
dezibot.begin();
//Serial.begin(115200);
dezibot.infraredLight.bottom.turnOn();
dezibot.infraredLight.front.turnOn();
}
void loop() {
//delay(100);
}

View File

@ -1,12 +0,0 @@
#include <Dezibot.h>
Dezibot dezibot = Dezibot();
void setup() {
dezibot.begin();
}
void loop() {
}