Help for this page

Select Code to Download


  1. or download this
    ppm install Win32::SerialPoint
    ppm install Win32::API
    
  2. or download this
    use strict;
    my $deckbox = "/dev/ttyUSB0";
    ...
      print $line;
      print DECK "\$CCPDT,1,4,0,0,3000,1,0,0,0\r\n";
    }
    
  3. or download this
    stty -a -F /dev/ttyUSB0
    speed 19200 baud; rows 0; columns 0; line = 0;
    ...
    -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixo
    +n -ixoff -iuclc -ixany -imaxbel
    opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs
    +0 vt0 ff0
    isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -ec
    +hoprt echoctl echoke
    
  4. or download this
    require 5.003;
    use Win32::SerialPort qw( :STAT 0.19 );
    ...
      } while ($c ne "\n");
      return $line;
    }