Your skill will accomplish what the force of many cannot |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Reading the code, I notice several things. (1) You can $Serial->user_msg(1), $Serial->error_msg(1), $Serial->debug(1) to get more error output.
The most likely cause of your problem is that the CommProperties is not giving 115200 as an available baudrate. To see this, try print "baud rate: ", join(" ", $Serial->baudrate), "\n"; just after the new() and see what it says. You can override this after the new and before the baudrate by giving it some new ones: Let us know if that helps. In reply to Re: Unusual error in Win32::SerialPort (Missing REQUIRED setting for BAUD)
by Thelonius
|
|