Skip to content
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

add pio_i2s example for RP2040 #2468

Merged
merged 2 commits into from
Jan 21, 2024
Merged

Conversation

exoticorn
Copy link
Contributor

This is an example for generating audio in real-time and playing it back through an i2s DAC.

Note that the double buffered dma transfer assumes that pio::StateMachineTx::dma_push does immediately start the dma transfer and that polling the returned future is only required to wait for the transfer to finish. I hope this is a safe assumption.

Copy link
Member

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

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

thank you!

@Dirbaio Dirbaio added this pull request to the merge queue Jan 21, 2024
Merged via the queue into embassy-rs:main with commit 20fd03a Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants