mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-19 11:01:46 +02:00
add advanced example Find a Friend
This commit is contained in:
parent
16c63dcdd4
commit
cb196def6c
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() {
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user