Hi,
great project first of all, thanks a lot :-)
I'm using it with a XIAO ESP32 S3 and it works great so far.
But I noticed, that the code is only working when connected to a PC/Notebook, but not when charged only through USB-C.
I think the issue is here:
void setup() {
Serial.begin( 115200 );
while( !Serial ); // TODO - rework all Serial outputs to log_info, log_error, log_debug
....
If there is no Serial present, it will wait forever. I commented the line while( !Serial ); in my code and now it works.
Just wanting to let you know :-)
Hi, great project first of all, thanks a lot :-) I'm using it with a XIAO ESP32 S3 and it works great so far.
But I noticed, that the code is only working when connected to a PC/Notebook, but not when charged only through USB-C.
I think the issue is here:
If there is no Serial present, it will wait forever. I commented the line
while( !Serial );
in my code and now it works. Just wanting to let you know :-)