mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-08-23 18:28:36 +02:00
15
example/example.ino
Normal file
15
example/example.ino
Normal file
@@ -0,0 +1,15 @@
|
||||
#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);
|
||||
}
|
Reference in New Issue
Block a user