mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-07-04 09:41:43 +02:00
add advanced example Find a Friend
This commit is contained in:
17
example/advanced/FindAFriend/FindAFriend.ino
Normal file
17
example/advanced/FindAFriend/FindAFriend.ino
Normal 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);
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
#include <Dezibot.h>
|
||||
|
||||
|
||||
|
||||
Dezibot dezibot = Dezibot();
|
||||
|
||||
void setup() {
|
||||
dezibot.begin();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
}
|
Reference in New Issue
Block a user