Note ived tested this and i was able to build using platform.io to atleast build a working biniary so in theory it should work for arduino if you Throw the "FUTABA_SBUS" folder inside of your library folder in arduino or put the folder inside of the src folder inside your platform.io folder and then import it #include "FUTABA_SBUS/FUTABA_SBUS.h"
hope this helps someone personally ive previously used this for RC cars and quadcopters to get controller input to a teensy 4.1
SBUS driver for arduino Based on Futaba_sbus library but with some better creature comforts and useability improvements
This is Based off of FUTABA_SBUS this code is just test code it should work to read the data from a sbus rc receiver ive previously used it with a FrSky R-XSR Ultra in sbus mode and a teensy 4.1 using the built in serial inverter that atleast on the teensy 4.1 can be used by opening the serial port that has the inverter with PORTNAME.begin(100000,SERIAL_8E2_RXINV_TXINV)
but i haven't tested it in awhile with real hardware the code is written assuming you are using an inverter circuit and feeding that to the serial port if so you should have no issues. also YOU WILL NEED to most likely adjust the error_check_interval, and amount_of_allowable_errors depending on how much processing your project uses also you can disable the error checking with the enable_error_checking variable PLEASE look at the example before using. feel free to use as you see fit all i ask is you credit both me and the original creator https://github.com/mikeshub if you use this code.