dezibot/example/example.ino
2024-04-27 23:05:03 +02:00

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);
}