Thank you Felix & ajb2k3! I tried to run it using the above changes and the example runs so well on M5stickc Plus. Is it possible to print the values using the Arduino IDE's serial plotter? I tried it like this, but it is not a clean wave ....!! There seems to be an offset in the signal? Thank you so much for saving the day!
Best posts made by miamifish
RE: M5StickC or M5StickC PLUS microphone basic example not working [Solved]
M5stickc microphone more sensitive (better) than M5stickcplus?
Hi all, I tried this sample using both M5stickc and M5stickcplus devices. : Hand washing timer with water sound detector. Both devices work fine. But noticed that the M5stickc is much more superior in terms of microphone sensitivity. Same exact code. Only changed include files: #include <M5StickC.h> or #include <M5StickCPlus.h>. Take a look at the graphs of sensitivity (predictions) from both the devices in the same exact place/environment. Disappointed since M5Stickc is in a EOL status :(. If anyone has any thoughts please share. Thanks.