Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Unusual error in Win32::SerialPort (Missing REQUIRED setting for BAUD)by Anonymous Monk |
on Aug 28, 2013 at 15:51 UTC ( [id://1051299]=note: print w/replies, xml ) | Need Help?? |
I experienced the same error but it seems not related to what you discussed. I tried all your suggestions, but it did not work. Or at least partially did not work. The suggestion works if you have an unlisted baudrate. But the problem persists if you try to pass the baudrate by a variable and not by a code literal constant. That is:
$Serial->baudrate(38400); # works
$Serial->baudrate($baud_rate); # with $baud_rate containing 38400, does not work
In Section
Seekers of Perl Wisdom
|
|