eviltoylet
April 16th, 2003, 01:55 PM
Just started with win32 api, and have been trying to communicate through a com/serial (no idea what the difference is) port but have no idea where to start. I searched for it on codeguru and forums, couldn't make any sense of any of it... found one remotely related article but that was in vb.
Anyway, I'm using codewarrior and am trying to send commands ie "I1M4300" to a motor stepping device. The thing i currently have is a list of these commands(laid out one per line) but I have no idea how to send them.
So, it would be very helpful if someone could point me to reference or explain to me how to send a command to a said port, and wait for a response from the device( in this case '^') to signal that it is ready for the next command, and send that next command.
Thank you.
Anyway, I'm using codewarrior and am trying to send commands ie "I1M4300" to a motor stepping device. The thing i currently have is a list of these commands(laid out one per line) but I have no idea how to send them.
So, it would be very helpful if someone could point me to reference or explain to me how to send a command to a said port, and wait for a response from the device( in this case '^') to signal that it is ready for the next command, and send that next command.
Thank you.