Skip to main content

Controlling DTR and RTS pins of Serial Port using Win32 API and C/C++

In the previous tutorial we learned about communicating with the serial port (reading and writing) using Win 32 API. 

In this tutorial,

we will look into another function that will let us control two more pins, RTS and DTR

Unlike RXD and TXD pins that are used for sending and receiving data,