Can I read the level of the input on the serial Rx pin of an ESP-07 module in order to determine if I need to use invert on the serial receive?
The device attaches to a data source which operates via an opto coupler and I do not know in advance which level is the start bit level (0 or 1).
So I figured that if I can read the level on pin 15 (RxD) before doing Serial(begin), then I could determine if the invert on the Rx pin must be set or not.
But I don't know if this can be done at all...