DShot Frame
This crate provides support for the DShot ESC protocol.
DShot has two-byte frames, where the first 11 bits are the throttle speed, bit 12 is a telemetry request flag, and the last four bits are a checksum.
Throttle values below 48 are reserved for special commands.
It is transmitted over the wire at a fixed speed, with ones and zeroes both being pulses, but ones being twice as long as zeroes.
Usage
This example is adapted from an embassy-stm32 codebase:
async