-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
hi, i'm working with INMP441 microphone on raspberry pi pico, and i connected the microphone by what should it be, but when i run the record_mic_to_sdcard_blocking.py
file, the result is not what it supposed to be
so i added a print after while num_sample_bytes_written_to_wav < RECORDING_SIZE_IN_BYTES:
here's the output :
>>> %Run -c $EDITOR_CONTENT
Recording size: 441000 bytes
========== START RECORDING ==========
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
10000
========== DONE RECORDING ==========
>>>
i checked that if i disconnect INMP441 from wires, what happens. and the output wasn't changed at all. only 10000
was printed on each line.
i don't think the problem should be from sd card
MicroPython v1.20.0 on 2023-04-26; Raspberry Pi Pico with RP2040
Type "help()" for more information.
thank you and sorry for my poor english🙏
Metadata
Metadata
Assignees
Labels
No labels