mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-19 19:11:48 +02:00
16 lines
262 B
C++
16 lines
262 B
C++
#include <Dezibot.h>
|
|
|
|
Dezibot dezibot = Dezibot();
|
|
|
|
void setup() {
|
|
Serial.begin(115200);
|
|
Serial.println("Started");
|
|
dezibot.begin();
|
|
Serial.println("Inited");
|
|
}
|
|
|
|
void loop() {
|
|
Serial.println(dezibot.lightDetection.getValue(DL_FRONT));
|
|
delay(1000);
|
|
}
|