I was wondering how to send output through say a serial port using C++. alls I want to send is a basic on or off signal. I am making a device that uses a computer to ask a password and sends the on output through the serial port to lets say a lightbulb if the password is correct.