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

Unwanted Serial.print calls in begin() #13

Open
DanEfran opened this issue Jan 23, 2025 · 2 comments
Open

Unwanted Serial.print calls in begin() #13

DanEfran opened this issue Jan 23, 2025 · 2 comments

Comments

@DanEfran
Copy link

DanEfran commented Jan 23, 2025

In Adafruit_CAP1188::begin() there are a handful of Serial.print calls, reporting "Useful debugging info" according to a comment.

This can't be turned off. It's not guarded with an #ifdef DEBUG or anything like that.

It seems presumptuous for a library to presume I want that stuff printed to Serial. I don't.

I shouldn't have to fork library code to suppress this noise in my Serial output. This printing should be optional -- preferably off by default -- or moved to a separate function entirely. It's not appropriate to burden every begin() call with it.

@caternuson
Copy link
Contributor

Update to the 1.1.3 release when it becomes available:
https://github.com/adafruit/Adafruit_CAP1188_Library/releases/tag/1.1.3

@DanEfran
Copy link
Author

Thanks!! Great library & breakout board by the way, works very nicely.

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