Welcome to the Monastery | |
PerlMonks |
Re^2: SerialPort issues under Windows 10by haukex (Archbishop) |
on Apr 16, 2021 at 12:24 UTC ( [id://11131371]=note: print w/replies, xml ) | Need Help?? |
The next issue I had was that Win32::SerialPort's ->read appears to be behaving non-blocking It's actually just timing out immediately - adding the minimum of e.g. $port->read_const_time(1000); sets the read timeout to 1s.
In Section
Seekers of Perl Wisdom
|
|