Sparkfun Edge 2 boards are delivered with a software which shows current accelerometer values and audio frequencies. Where is the source code of that demo?
Hi piisku,
That code is part of the self test of the board that we perform at the production line. I could make the source code available if you need but if all you need are examples of how to use the accel and pdm microphones then I’d recommend looking at the examples for the Edge2 in the BSP repo:
https://github.com/sparkfun/SparkFun_Ap … 2/examples
If you install the ARM gcc tools and make then you should be able to build the binaries directly. If you want to use arduino then you’ll have to copy/paste the necessary code but it will work too.
I would really appreciate if you could provide source code from where I could see how to use microphones on Edge2. The github repo you linked contains only projects which loads binaries, there is no src in Edge2 folder.
Thanks
You are correct that there is no source in the folder edge2/examples/pdm_fft however the source is still provided. It is located in common/examples/pdm_fft because it is shared across all boards that support this example (all but the original Edge board). Doing it this way is a huge boon for maintenance because there is only one file to change.
Hope that helps!