I've studied it off and on over the past couple of years. The ESP32, like the ESP8266, doesn't apparently have UARTs that can be set to 9 data bits. The Arduino is capable of 9 bit data, hence the availability of the 9-Bit Serial library for it.
Have a look here at the uart_word_length_t constant:
https://esp-idf.readthedocs.io/en/latest...parameters
That would mean that you would have to bit-bang, which I'm sure the ESP32 has more than enough horsepower to do. I've tried a couple of experiments with the ESP8266 with no success.
Then of course there's this, which seems to contradict the IDE documentation and provide a means for setting the UART to 9 bits!
https://github.com/whitecatboard/Lua-RTO...ART-Module
Have a look here at the uart_word_length_t constant:
https://esp-idf.readthedocs.io/en/latest...parameters
That would mean that you would have to bit-bang, which I'm sure the ESP32 has more than enough horsepower to do. I've tried a couple of experiments with the ESP8266 with no success.
Then of course there's this, which seems to contradict the IDE documentation and provide a means for setting the UART to 9 bits!
https://github.com/whitecatboard/Lua-RTO...ART-Module