Help for this page

Select Code to Download


  1. or download this
    package Win32::RS232Port;
    
    ...
    }
    
    1;
    
  2. or download this
    # open serial port, create instance of Win32::RS232Port object
    $self->{serport} =  Win32::RS232Port->new($comport_name, handshake => 
    +'rts', baudrate => 9600);
    ...
    
    # close the serial port
    $self->{serport}->close();