Skip to content
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

Add SoftwareSerial support for RS485 transport #1510

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

kasparsd
Copy link

@kasparsd kasparsd commented Oct 29, 2021

Fixes #1300.

The Arduino SoftwareSerial library (and its forks for various hardware platforms) appears to be compatible with the API currently used by the RS485 transport. It contains the following calls:

  • .available()
  • .read()
  • .flush()
  • .begin()

@kasparsd
Copy link
Author

Would this be something valuable for the upstream project? The AltSoftSerial implementation currently doesn't support ESP devices so this would solve that issue.

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.

MinorChanges: SoftwareSerial for RS485
1 participant