zendes / SBUS

Arduino library for the Futaba SBUS protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swith On and Off SBUS Lib.

Gennadiy1990 opened this issue · comments

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