This commit is contained in:
mulbric1
2024-06-04 10:22:35 +00:00
parent 60175861db
commit 5bd1eee633
23 changed files with 1213 additions and 18 deletions

View File

@ -0,0 +1,21 @@
/****************************************************
* If you have selected ESP32-S3-USB_OTG as the board,
* change Tools->USB_Mode to "Hardware CDC and JTAG".
*****************************************************/
#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);
}