Skip to content

Swith On and Off SBUS Lib. #11

@Gennadiy1990

Description

@Gennadiy1990

Hi!
I have been using the FUTABA-SBUS library for a long time. Always used parameters 100000, SERIAL_8E2. You have 115200, SERIAL_8N1 (like the default in Arduino). Is it correct? Now I needed a port for the TX 9600,8N1 for the Arduino Nano. Timers T1 and T2 in my program are busy generating 8 PWM.
So question 1. Can I use your library to work without a Serial port but using the timer T0? I do not use delays in my program . In Arduino Nano they are generated on timer 0.
Question 2. Can I use your library to work with the Serial port, turning it off (Serial.end () ), then turn on at 9600 speed, transmit on Tx, then turn it off and on again at 100000 (Serial.began (100000, SERIAL_8E2) )? Thus to organize reception of RX SBUSdata and transfer some others data of Serial TX 9600?
Thank!
Gennady

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions