Skip to content

Improve sketches of Wire library for Arduino/Genuino 101 #287

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
wants to merge 1 commit into from

Conversation

biagiom
Copy link
Contributor

@biagiom biagiom commented Sep 7, 2016

Pull request to improve sketches of Wire library for Arduino/Genuino 101 that use Serial communication

Since Arduino/Genuino 101 uses USB native port, wait for the Serial port
to open before executing the next lines of code to not lose serial data
already sent to the Serial monitor

Signed-off-by: Biagio Montaruli <[email protected]>
@eriknyquist
Copy link
Contributor

I don't think these changes are necessary. All the Wire examples run in an infinite loop, so you will always see output no matter when you open the Serial monitor.

@biagiom biagiom closed this Sep 17, 2016
@biagiom biagiom deleted the Wire-dev branch September 17, 2016 11:53
@biagiom
Copy link
Contributor Author

biagiom commented Sep 18, 2016

Hi @eriknyquist,
I agree with you since in this case wesend data to the Serial Monitor only in void loop().
I have updated the bus_scan.ino sketch of Wire library and I sent my changes with #296 Pull request

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

Successfully merging this pull request may close these issues.

2 participants