ESP32 I2S:
int i2s_write_sample_nb(uint8_t sample){
return i2s_write((i2s_port_t)i2s_num, (const char *)&sample, sizeof(uint8_t), 100);
}
got error:
invalid conversion from 'int' to 'size_t*' {aka 'unsigned int*'} [-fpermissive]
how to fix?
invalid conversion from 'int' to 'size_t*'
-
- Posts: 9729
- Joined: Thu Nov 26, 2015 4:08 am
Re: invalid conversion from 'int' to 'size_t*'
Suggest you read the documentation of the ESP-IDF version you're using to cross-reference with the arguments of that API.
Who is online
Users browsing this forum: No registered users and 111 guests