30 explicit sbus(Stream *rxPort,
int rxPin = -1,
int txPin = -1,
31 bool inverted =
true);
36 void begin()
override;
Header file for serial input/output (IO) functionality.
Class that stores state and functions for initialising and decoding rc protocol.
Definition SerialIO.h:36
A class for handling SBUS protocol communication.
Definition sbus.h:16
void processIncoming() override
Processes incoming SBUS data.
Definition sbus.cpp:26
sbus(Stream *rxPort, int rxPin=-1, int txPin=-1, bool inverted=true)
Constructor for the SBUS class.
Definition sbus.cpp:8
void begin() override
Initializes the SBUS communication.
Definition sbus.cpp:11
void getChannel(rc_channels_t *channelData) override
Gets the decoded RC channels from the SBUS data.
Definition sbus.cpp:37
Header file for the SBus protocol implementation.
#define SBUS_MAX_PACKET_SIZE
SBus packet length.
Definition sbus_protocol.h:20
Definition sbus_protocol.h:22