diff --git a/example/lightdetection_serial/lightdetection_serial.ino b/example/lightdetection_serial/lightdetection_serial.ino index 65b379f..d9c8b75 100644 --- a/example/lightdetection_serial/lightdetection_serial.ino +++ b/example/lightdetection_serial/lightdetection_serial.ino @@ -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 dezibot = Dezibot(); @@ -13,3 +18,4 @@ void loop() { Serial.println(dezibot.lightDetection.getValue(DL_FRONT)); delay(1000); } + diff --git a/example/motion_indicating/motion_indicating.ino b/example/motion_indicating/motion_indicating.ino index 007c93c..9b6022d 100644 --- a/example/motion_indicating/motion_indicating.ino +++ b/example/motion_indicating/motion_indicating.ino @@ -2,10 +2,8 @@ Dezibot dezibot = Dezibot(); void setup() { dezibot.begin(); - Serial.begin(9600); } void loop() { - Serial.println("bla"); dezibot.motion.move(1000); dezibot.multiColorLight.setLed(BOTTOM, RED); delay(2000); @@ -17,4 +15,4 @@ void loop() { delay(2000); dezibot.multiColorLight.turnOffLed(); delay(2000); -} \ No newline at end of file +} diff --git a/example/motion_minimum/motion_minimum.ino b/example/motion_minimum/motion_minimum.ino index e376753..96955e4 100644 --- a/example/motion_minimum/motion_minimum.ino +++ b/example/motion_minimum/motion_minimum.ino @@ -1,10 +1,8 @@ #include Dezibot dezibot = Dezibot(); -const uint8_t MYFOO = 10; void setup() { - dezibot.begin(); - + dezibot.begin(); } void loop() { @@ -17,3 +15,4 @@ delay(1000); dezibot.motion.stop(); delay(1000); } +