adafruit / Adafruit_CircuitPython_CircuitPlayground

CircuitPython library for Circuit Playground Express
MIT License
91 stars 71 forks source link

sound_meter example fails on Circuit Playground Bluefruit #76

Open kattni opened 4 years ago

kattni commented 4 years ago

Example fails with the following:

Traceback (most recent call last):
  File "code.py", line 26, in <module>
ValueError: MICROPHONE_CLOCK in use
kattni commented 4 years ago

This is because we now have sound_level in the Bluefruit module. Working on a way to make the code work with both boards.

kattni commented 4 years ago

Code has been sorted, will PR it soon.

tekktrik commented 2 years ago

Is this still open? I was reading some of the related PRs, and it's been some time since an update. Is it still possible for sound level to be implemented, it sounds like the express doesn't have the memory to do it in the same way as the Bluetooth version?

dhalbert commented 2 years ago

I think we just need to test them all to make sure.

tekktrik commented 2 years ago

I think we just need to test them all to make sure.

You mean test PR #93? Did the conversation there get resolved?

dhalbert commented 2 years ago

I am not sure about that. I think there may not have been room for sound_level() on the CPX: https://learn.adafruit.com/circuitpython-made-easy-on-circuit-playground-express/sound.

Note that we do have an CPX sound meter, but it's not in the CP library: https://learn.adafruit.com/adafruit-circuit-playground-express/playground-sound-meter