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 serial read example. #609

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Add serial read example. #609

merged 1 commit into from
Feb 21, 2024

Conversation

stephenhensley
Copy link
Collaborator

This adds a new example showing reading data over a USB serial connection:

This program initializes the daisy, and then waits for connection to a serial monitor.

Once the connection has been established, messages received over serial will be echoed back.
This is done by writing the input to a FIFO of messages as they are received, and then from within the main while() loop, messages are popped from the FIFO, and printed back over serial.

@beserge
Copy link
Contributor

beserge commented Feb 21, 2024

Merged with latest master and tested on the Pod, works great!

@beserge beserge merged commit 9e8cac6 into master Feb 21, 2024
@beserge beserge deleted the example/serial-rx branch February 21, 2024 20:41
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