-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This code is not compiling in arduino ide #1
Comments
i2s_read_bytes function is deprecated about #1
Hello This function has been removed from espressif sdk and replaced by i2s_read: |
C:\Users\moaza\Downloads\Compressed\huzzah_esp32_pdm_mic-master\huzzah_esp32_pdm_mic-master\pdm3\pdm3.ino: In function 'void process_samples(void*)': exit status 1 Compilation error: invalid conversion from 'TickType_t' {aka 'unsigned int'} to 'size_t*' {aka 'unsigned int*'} [-fpermissive] |
C:\Users\moaza\Downloads\Compressed\huzzah_esp32_pdm_mic-master\huzzah_esp32_pdm_mic-master\pdm3\pdm3.ino: In function 'void process_samples(void*)':
C:\Users\moaza\Downloads\Compressed\huzzah_esp32_pdm_mic-master\huzzah_esp32_pdm_mic-master\pdm3\pdm3.ino:92:28: error: 'i2s_read_bytes' was not declared in this scope
int num_bytes_read = i2s_read_bytes(I2S_PORT,
^~~~~~~~~~~~~~
C:\Users\moaza\Downloads\Compressed\huzzah_esp32_pdm_mic-master\huzzah_esp32_pdm_mic-master\pdm3\pdm3.ino:92:28: note: suggested alternative: 'pgm_read_byte'
int num_bytes_read = i2s_read_bytes(I2S_PORT,
^~~~~~~~~~~~~~
pgm_read_byte
exit status 1
Compilation error: 'i2s_read_bytes' was not declared in this scope
The text was updated successfully, but these errors were encountered: