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

Two changes #3

Merged
merged 2 commits into from
May 16, 2021
Merged

Two changes #3

merged 2 commits into from
May 16, 2021

Conversation

bvmensvoort
Copy link

Thanks for all the materials online and for all the efforts put in! I tried to make one myself and succeeded. My first ESP32 project! I had to make some small adjustments to the code though, and I wanted to share these. There are probably much neater solutions than these, but for now they work.

The first one is my code wouldn't compile, because of the error message: "add12bitsToBuf is not defined"
Luckily moving the code solves this issue.

Second, I noticed that one of my two SoundKits started to give strange min/max readings. These values became the same value as the average. The spectrum readings seemed to still be okay. After changing the code it didn't occur anymore.

Good luck with next steps of the project!

This will prevent compile error: add12bitsToBuf is not defined
This will prevent the minimum and maximum to be the same as the average after a while.
Does not seem to occur when serial monitor is active
@meekm
Copy link
Owner

meekm commented May 16, 2021

Bram, thanks for your enhancement

@meekm meekm closed this May 16, 2021
@meekm meekm reopened this May 16, 2021
@meekm meekm merged commit ceed5bb into meekm:master May 16, 2021
@meekm
Copy link
Owner

meekm commented May 16, 2021 via email

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

Successfully merging this pull request may close these issues.

2 participants