As the title says, I'm trying to use a DB25 Parallel Port for various electronic projects. The programming language I intend on using is C (C++ if need be.). The cable is a USB to Serial DB25 Adapter purchased from CablesToGo.
Simply put, I just want to be able to send an I/O signal, could even be a byte through the the cable to, for example light up an LED after using a command from C to send as True or False. I'd also like to be able to read input as well, for example: A button is pressed that closes a path to one of the inputs, allowing the c program to pick it up as On, or True.
I've search all over on the internet. But, I've come out with more useless than useful information as most of it usual speaks about Linux, Basic, or Visual C, all of which I do not use. So far I could only piece together that I'll need #include <dos> line of a sort which I haven't looked into DOS much.
Simply put, I just want to be able to send an I/O signal, could even be a byte through the the cable to, for example light up an LED after using a command from C to send as True or False. I'd also like to be able to read input as well, for example: A button is pressed that closes a path to one of the inputs, allowing the c program to pick it up as On, or True.
I've search all over on the internet. But, I've come out with more useless than useful information as most of it usual speaks about Linux, Basic, or Visual C, all of which I do not use. So far I could only piece together that I'll need #include <dos> line of a sort which I haven't looked into DOS much.