I have a sparkfun sound detector hooked up to Pin 6 (ADC) of the Open MV board but am not able to get any result. What I am reading is the value around 346. I get this value when I have pin 6 connected to the audio output of the sound detector as we as when the pin is not hooked up to anything.
My code is just:
from pyb import Pin, ADC
adc = ADC(‘P6’)
Is there something I am missing here? When I read the actual voltage coming off the sensor I can see a fluctuating value that changes as expected.
Any ideas or suggestions would be greatly appreciated.