output to serial port
i am writing a program that will accept keyboard input (easy) then send a signal to the serial port (hard). i have heard that you can send a signal to a certain pin. is this true? how? sample code? thanks. i plan to use the signal to pin to be a trigger current for a larger circuit im building.
I don't think you can send signal to *every* pin, but activating some of them might work.
I did direct serial port programming (made a serial chat-program in ASM a few years ago), but I only sent commands and sent/received data - normal communication with the RS232.
Good HW info (including serial port) can be found here (you probably heard of Ralph Brown's famous interrupt list):
>>> send a signal to the serial port (hard).
Not hard. Use the CreateFile() API function to get a handle to the port then use the handle based I/O functions to send/receive. Look up CreateFile() in the help and pay particular attention to the section called "Communication Resources". If you follow the links, you will find the structures necessary for lower level control of the hardware protocol "pins" on the serial port.
*** EDIT ***
... and cross posting really ........es me off.
sorry about cross posting. second post on my first thread said to direct it to a platform. so i moved it to the windows thread but didnt know how to delete the old one. thanks for the info, ill keep working at it.