I start using an Espressif ESP32-C3-Mini and I'm not able to get any data on the Monitor ! To see any return on the monitor window I need to change the Baud-Rate I.E 115200 to 9600 and then the monitor work. Can anyone try to test this code (using NimBLE-Arduino library see Github to download) :
#include <NimBLEDevice.h>
void setup()
{
Serial.setTxTimeoutMs(0); // Use it with USB CDC On Boot is enabled.
Serial.begin(115200);
// delay(3000); // Wait serial monitor
Serial.println("Init the NimBLE...");
NimBLEDevice::init(""); // Init the NimBLE
Serial.println("NimBLE initialized!");
}
void loop()
{
}
I try many setup on IDE (I use 1.8.19) but nothing works ... Any idea ? Thanks.