I have a led with a resistor soldered on a USB cable with a resistor when I put it on the USB comport1 it turns on, but I would like to turn it off or reduce to almost zero the power flow in the serial port, being able to turn it on and off, I looked for some articles but always take me to ardruinos or some other type of control board, I wanted something directly on the computer to turn the comport on and off, I am aware that this is dangerous and can damage it, but I want to test this directly on the computer is there any way to do it this with visual basic?