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:
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
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);
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