|
Posted by Scott W Gifford on April 25, 2006, 11:51 pm
Please log in for more thread options
> I need to write a very simple RS232 script that sends a string
> (command) to my hardware, and receives the messages sent back for my
> hardware. I found the SerialPort_0.19 module However, I have not
> found much of documentation regarding the module. I want to know if
> any one has sample code on how to do a simple send and simple
> receive. So, I can use to get up to speed quickly.........
Here are two examples from code I've written:
http://search.cpan.org/src/GIFF/RFID-Base-0.004/lib/RFID/Reader/Serial.pm
http://whereabouts.eecs.umich.edu/code/serialserver.pl
---Scott.
|