mirror of
https://gitlab.dit.htwk-leipzig.de/phillip.kuehne/dezibot.git
synced 2025-05-20 03:21:46 +02:00
19 lines
291 B
C++
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);
|
|
|
|
}
|