Help for this page

Select Code to Download


  1. or download this
    for(;;){
            (my $count, my $result) = $PortObj->read(500);
            print "$result\n";
    }
    
  2. or download this
    $echo "foo" >> /dev/ttyS0
    $echo "bar" >> /dev/ttyS0