I have never done hardware interfacing before and don't know how its done.Did some searching and found some codes but I only want to attach leds with the port and turn them on or off with the computer but I need to use only C++.Please If someone can help me with this.I have some basis in C++ so I just need to know how to assign the my desired outputs to the parallel port pins commands.I know I need a dialog box with buttons and stuff and I know how to take user input the only problem is that how do you connect all these things.
URGENT:PLEASE HELP!!
URGENT:Help hardware interfacing commands using parallel port!!?
the h/w commands depends on the h/w u r using. If you want to send the command of that h/w using the computer or any controller; then, keep the command equvalent Hex code in the processor/controller registers and raise the interrupt.
this interrupt (int #) also depends on the processor or the controller u r using.
In C or C++ u can do this by a function call ASM().
which call the Assembly Machine functions/interrupts (pre defined in the BIOS of the Computer).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment