Well, I don't think I've gotten very far yet...
I know that you said I will need to edit it, but I figured that was just in reference to the commands I wanted it to run.
After a bit of investigation, (using Perl's debugger and commenting various things out,) I realized I have the following errors coming up with the code:
all yeild an error in the form of:
Can't call method "xxxx" on an undefined value at ./trial001.pl line xx.
where xx is the line number, and xxxx is one of the following: databits, baudrate, parity, stopbits.
Oh, and I had another issue which was resolved by running:
sudo apt-get install libdevice-serialport-perl
(Which installed the serial device support for Perl.)
Any ideas on how to fix this?
[...] one preliminary is to sort out exactly what commands you want to issue. That is independent of getting that command triggered somehow.
If you can't do what you want from the Ubuntu command line, then I can't see how you can get it done from an external trigger.
I get what you're saying. I can
run them from the command line, and I'm confident I can get the triggering worked out (that is, waiting for a button press, or something similar). For discussion's sake, lets say the commands I want to use are:
Thanks for that, and it will probably make a good temporary fix. I'll have to try it.
I'm working on reading that page you linked to.
Thanks again, all!