Add 'USB_Mode to Hardware CDC and JTAG' hint and remove frills from examples

This commit is contained in:
Prof.J.Wagner
2024-05-14 10:25:33 +02:00
parent a4f9f69f1e
commit cdf216910d
3 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,8 @@
/****************************************************
* 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();
@ -13,3 +18,4 @@ void loop() {
Serial.println(dezibot.lightDetection.getValue(DL_FRONT));
delay(1000);
}