bolderflight / sbus

Arduino and CMake library for communicating with SBUS receivers and servos.
MIT License
387 stars 136 forks source link

Why esp8266 isn't supported #23

Closed jasin755 closed 5 years ago

jasin755 commented 5 years ago

I have esp8266 and I have tried to send values to sbus servo. But it doesn't work. I have already checked your code and found that esp8266 isn't supported. Why? Esp8266 has 1 HW serial port shared with USB. I think it is possible to use it.

flybrianfly commented 5 years ago

SBUS uses inverted serial logic with 2 stop bits, this is not universally supported by Arduino and the syntax is highly dependent on the microcontroller the code is running on. The majority of devices we use are Teensy microcontrollers; however, I welcome pull requests porting and testing this code to other platforms.