Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working without connection to PC #1

Open
schms27 opened this issue May 23, 2024 · 1 comment
Open

Not working without connection to PC #1

schms27 opened this issue May 23, 2024 · 1 comment

Comments

@schms27
Copy link

schms27 commented May 23, 2024

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 :-)

@mozgy
Copy link
Owner

mozgy commented May 23, 2024

Hmm, I did wonder why is that but since XIAO board gets quite hot I stopped actively testing it.
Gonna research this a bit more, thank you very much!

mozgy added a commit that referenced this issue May 23, 2024
temp fix for XIAO S3 Cam not working only on USB batt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants