Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How to read serial port with WIN32:SerialPort?

by jmlynesjr (Deacon)
on Apr 09, 2021 at 02:54 UTC ( [id://11131041]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Perl Polling Test
    
    # Title: Perl to chipKIT Serial Poll Test
    ...
      print ($Arduino->receive(), "\n");              # Print poll respons
    +e
      sleep(1);                                       # Delay until next p
    +oll
    }
    
  2. or download this
    package Device::SerialPort::Arduino;
    
    use strict;
    ...
    
        $self->{'DSP'} = Device::SerialPort->new( $self->{'port'} )
          or croak "Can't open " . $self->{'port'} . " - $!\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131041]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found