Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 9 months ago.
Force UART TX pin low for 20ms (SDI-12 protocol)
I am trying to implement a SDI-12 protocol using the UART on a STM32F411RET.
I need a way to drive the UART tx pin low for 20ms.
On an arduino, I can just call serial.end(), then pinMode(TXPIN, OUTPUT); digitalWrite(TXPIN, HIGH); serial.begin();
Is there a way to do the same with Mbed?