dezibot/example/example.ino
2024-04-26 14:58:20 +02:00

19 lines
291 B
C++

#include <Adafruit_NeoPixel.h>
#include <Dezibot.h>
#define GPIO_LED 48
Dezibot dezibot = Dezibot();
void setup() {
dezibot.begin();
Serial.begin(9600);
}
void loop() {
Serial.println("FooBarBaz");
Serial.println(dezibot.lightDetection.getValue(DL_FRONT));
delay(1000);
}