Skip to content

Conversation

nseidle
Copy link
Member

@nseidle nseidle commented Sep 24, 2019

Change SS to inherit from Stream instead of Print. There are some libraries that expect softwareSerial to have functions like find() and setTimeout(). This fixes those 'function not found' errors.

Change SS to inherit from Stream instead of Print. There are some libraries that expect softwareSerial to have functions like find() and setTimeout(). This fixes those 'function not found' errors.
@oclyke
Copy link
Contributor

oclyke commented Sep 26, 2019

Looks good! Stream inherits from Print so any existing functionality should remain (relatively) unscathed, and we get more compatibility!

@oclyke oclyke merged commit 8ddcb5b into master Sep 26, 2019
@oclyke oclyke deleted the streamSoftwareSerial branch September 26, 2019 15:58
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