Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
I use the UART (P32, P35) to communicate with a computer. This work fine with no problem.
But now, I would like to use an UART - RS485 convert to communicate in RS485. So I need to set and clear two IO for receive and transmit data (/RE and DE IO of a ST4385EDC for example). I have try with this code (with and without delay):