SBUS read

pierrotm777

Well-known member
Hello,

I use a Teensy 4.0 and I need to define a Serial input for read a SBUS signal.
So I need to invert Serial1 Rx pin.
I try this code:
C++:
Serial1.begin(100000,SERIAL_8E2_RXINV);
But the Arduino IDE 2.3.4 return me an error:
Compilation error: 'SERIAL_8E2_RXINV' was not declared in this scope; did you mean 'SERIAL_8E2'?

Where is my error ?

Thanks for your help,

Pierre
 
You can find the Serial documentation <here>. The valid formats & the correct name definitions for those formats can be found about 2/3 of the way down the page in a table, under the "Format Name" column.

Hope that helps . . .

Mark J Culross
KD5RXT
 
Back
Top