Skip to content

Deprecated i2s_read_bytes function #16

@abaokbah

Description

@abaokbah

Hi,

I tried to run the project on an older version of Arduino IDE and it works fine. However, when tried on the latest version, it throws back an error saying i2s_read_bytes isn't defined in the scope. When I did some troubleshooting, I discovered i2s_read_bytes has been deprecated and replaces with i2s_read.

The problem I'm having is a "too few arguments" whenever the verification reaches the i2s_read function. I looked up the function definition and it has an extra parameter (size_t *bytes_read) compared to i2s_read_bytes. I'm not sure what should go in there?

Any help would be greatly appreciated

Regards, Ali

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions