Skip to content

Use Stream instead of *Serial/TwoWire #4

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
Feb 13, 2014
Merged

Use Stream instead of *Serial/TwoWire #4

merged 1 commit into from
Feb 13, 2014

Conversation

Palatis
Copy link
Contributor

@Palatis Palatis commented Feb 13, 2014

for newer arduinos,

  • HardwareSerial
  • NewSoftSerial
  • TwoWire
  • Serial_ (USB CDC)

are all subclass of the Stream abstract class.

and this way we automagically supports all transfer method which is
derived from Stream.

for newer arduinos,
- HardwareSerial
- NewSoftSerial
- TwoWire
- Serial_ (USB CDC)
are all subclass of the Stream abstract class.

and this way we automagically supports all transfer method which is
derivered from Stream.
@madsci1016
Copy link
Owner

O thank you! This has been on my todo list for over a year. Getting married and work seemed to have been getting in the way.

madsci1016 added a commit that referenced this pull request Feb 13, 2014
Use Stream instead of *Serial/TwoWire; major props to Palatis
@madsci1016 madsci1016 merged commit 2c04541 into madsci1016:master Feb 13, 2014
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