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

No need for Serial.begin() #126

Open
LyleDodge opened this issue Jun 16, 2021 · 0 comments
Open

No need for Serial.begin() #126

LyleDodge opened this issue Jun 16, 2021 · 0 comments

Comments

@LyleDodge
Copy link

So, this isn't so much an issue but a caution to others -- avoid Serial.begin() if you have ez.begin().

On the https://github.com/M5ez/M5ez/blob/master/README.md page there are FIVE mentions of Serial.println and never once did I read them closely enough to notice there was no Serial.begin. In fact, if you include Serial.begin in your sketch it dies a horrible death: parses, compiles, uploads, but it bombs out at runtime when it hits ez.begin().

I love M5ez and my one suggestion might be to add some note in the README.md about not needing Serial.begin OR perhaps consider a slight improvement so that ez.begin() gracefully avoids serial.begin() if the user already has made the call.

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

1 participant