Skip to content

Improve sketches of different libraries that use Serial communication #288

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

Merged
merged 1 commit into from
Oct 10, 2016

Conversation

biagiom
Copy link
Contributor

@biagiom biagiom commented Sep 7, 2016

Pull request to improve sketches of CurieSoftwareSerial, CurieTime, CurieTimerOne, SPI and SerialFlash libraries that use Serial communication.
Despite the modified sketches belong to different libraries, I have made a single pull request since, for all the improved sketches, the main intent is to add more documentation and the line
while (!Serial); in order to wait for the Serial port to open because, in the modified sketches, Serial communication is managed through the virtual serial port (over USB) using the object Serial

Best regards

Improve sketches of CurieTime, CurieTimerOne, CurieSoftwareSerial, SPI and
SerialFlash libraries that use Serial communication.
Since Arduino/Genuino 101 uses USB native port, wait for the Serial port
to open to not lose serial data already sent to the Serial monitor.

Signed-off-by: Biagio Montaruli <biagio.hkr@gmail.com>
@eriknyquist
Copy link
Contributor

Rebasing

@eriknyquist eriknyquist merged commit 27a68de into arduino:master Oct 10, 2016
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