|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Need to detect continuity between 2 terminalsby martell (Pilgrim) |
| on Jan 06, 2013 at 20:59 UTC ( #1011918=note: print w/ replies, xml ) | Need Help?? |
|
Short answer: No Long answer: Those are data communication ports and not general input/output pins (gpio) as found on some devices as the raspberry pi. Those gpio can be used to detect a closed or open state. Albeit you need to be careful not to fry the chip. As Old_Gray_Bear said: you need something bridges your input to the protocol on the serial and parallel port. There is plenty things available, but you need to go to more dedicated 'electronic' hacker forums for a good answer. From there you can probably use something like Device::SerialPort to read from the serial port. Kind regards Martell
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||