I wanted to make a program to turn on my bedroom lights. I wanted to use the serial port, and i need to know a function that handles serial port outputs. I wanted to give either 0 or 1 at the output of a single pin, then i would make a circuit that let AC go through the wires if the computer returned 1 via such pin. I need to know what function can handle this, this would be great for learning but also it would be awesome to turn on the lights trough the computer! Imagine, using serial port i could turn on many devices, lights, tv, dvd player and a lot more! It would be great, please help me here!
Help is much appreciated.
Paul.
Thank You a lot!
Help is much appreciated.
Paul.
Thank You a lot!
Comment