Skip to content

Conversation

@Gnanasaikiran
Copy link
Contributor

@Gnanasaikiran Gnanasaikiran commented Nov 20, 2025

Fixes #2583

Added comprehensive documentation for the read() method in the I2S library.

The read() method was being used in examples but was not documented in the API reference. This commit adds:

  • Method description
  • Two syntax variants (single sample and buffer read)
  • Parameter documentation
  • Return value documentation

This resolves the issue where users could not find documentation for the read() method despite it being used in code examples.

What This PR Changes

  • (Please explain here why you created the pull request and specify what it changes)

Contribution Guidelines

Fixes arduino#2583

Added comprehensive documentation for the read() method in the I2S library.

The read() method was being used in examples but was not documented in the API reference. This commit adds:
- Method description
- Two syntax variants (single sample and buffer read)
- Parameter documentation
- Return value documentation

This resolves the issue where users could not find documentation for the read() method despite it being used in code examples.
@CLAassistant
Copy link

CLAassistant commented Nov 20, 2025

CLA assistant check
All committers have signed the CLA.

@jhansson-ard
Copy link
Contributor

Thank you @Gnanasaikiran. We've added a task in our backlog to review your PR ⭐

@jhansson-ard jhansson-ard added request Tracking issue community Bugs and fixes suggested by the community labels Nov 21, 2025
@BenjaminDannegard BenjaminDannegard self-requested a review December 11, 2025 10:34
Copy link
Contributor

@BenjaminDannegard BenjaminDannegard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good! Thank you for the addition, I will go ahead and merge this request

@BenjaminDannegard BenjaminDannegard merged commit e4ea2bd into arduino:main Dec 11, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Bugs and fixes suggested by the community request Tracking issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I2S documentation missing read() method

4 participants