I have connected an STM32 MCU to a Windows desktop PC using a USB to serial converter, with the USB side connected to the PC and serial pins connected to the UART port of the MCU.
I am aware that character data can be sent over serial port. Is there any way to send control signal/data from the PC to an LED or relay connected to the MCU that can change the state of the LED or relay from its previous state?