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 SBUS communication #81

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vishwamartur
Copy link

Related to #69

Add support for AltSoftSerial for SBUS communication.

  • src/sbus.h

    • Include the AltSoftSerial library.
    • Add constructors for SbusRx and SbusTx that accept AltSoftSerial.
    • Modify SbusRx and SbusTx classes to use AltSoftSerial.
  • src/sbus.cpp

    • Include the AltSoftSerial library.
    • Modify the Begin method in SbusRx and SbusTx to initialize AltSoftSerial.
    • Modify the Read and Write methods in SbusRx and SbusTx to use AltSoftSerial.
  • examples/arduino/sbus_example/sbus_example.ino

    • Include the AltSoftSerial library.
    • Modify the example to use AltSoftSerial for SBUS communication.
  • README.md

    • Update instructions to include the use of AltSoftSerial for SoftwareSerial support.

Related to bolderflight#69

Add support for `AltSoftSerial` for SBUS communication.

* **src/sbus.h**
  - Include the `AltSoftSerial` library.
  - Add constructors for `SbusRx` and `SbusTx` that accept `AltSoftSerial`.
  - Modify `SbusRx` and `SbusTx` classes to use `AltSoftSerial`.

* **src/sbus.cpp**
  - Include the `AltSoftSerial` library.
  - Modify the `Begin` method in `SbusRx` and `SbusTx` to initialize `AltSoftSerial`.
  - Modify the `Read` and `Write` methods in `SbusRx` and `SbusTx` to use `AltSoftSerial`.

* **examples/arduino/sbus_example/sbus_example.ino**
  - Include the `AltSoftSerial` library.
  - Modify the example to use `AltSoftSerial` for SBUS communication.

* **README.md**
  - Update instructions to include the use of `AltSoftSerial` for `SoftwareSerial` support.
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.

1 participant