I tested the sbus signal generated by the library has a non-standard signal length of 2.6ms instead of a standard length of 3ms. So the sbus signal cannot be recognized by betaflight controller which required 3ms length according to its source code.
The strange part is if I use the same code in the write() function and with correct serial port setup 100000 baud rate and 8SE2, my ESP32 will generate a 3ms signal and could be recognized by the controller.
I am confused about this phenomenon. Does anyone have any idea why this happened?
Thank you very much.
I tested the sbus signal generated by the library has a non-standard signal length of 2.6ms instead of a standard length of 3ms. So the sbus signal cannot be recognized by betaflight controller which required 3ms length according to its source code. The strange part is if I use the same code in the write() function and with correct serial port setup 100000 baud rate and 8SE2, my ESP32 will generate a 3ms signal and could be recognized by the controller. I am confused about this phenomenon. Does anyone have any idea why this happened? Thank you very much.