Skip to content

Clarify function of serialEvent on Arduino Due #819

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

Closed
maltekliemann opened this issue Mar 1, 2021 · 2 comments
Closed

Clarify function of serialEvent on Arduino Due #819

maltekliemann opened this issue Mar 1, 2021 · 2 comments
Labels

Comments

@maltekliemann
Copy link

According to the docs for serialEvent:

serialEvent(), serialEvent1()``serialEvent2(), [sic] and serialEvent3() don't work on the Arduino Due.

This sentence needs clarification. What does "don't work" mean? Are they not implemented on the Arduino Due? Are they no-op? Does using them cause undefined behavior?

To give this question some context: I'm using serialEvent on a Arduino Due, and I'm only experiencing expected behavior. Now I'm worried I may be getting UB.

@per1234
Copy link
Collaborator

per1234 commented Mar 1, 2021

Hi @maltekliemann. Thanks for reporting this error. This information is incorrect. Arduino Due has support for all those. I submitted a pull request to correct this error:
#800
If you want to take a look at my proposed changes, I welcome any feedback.

@maltekliemann
Copy link
Author

Hey @per1234, thank you very much! The PR obviously clarifies my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants