Help for this page

Select Code to Download


  1. or download this
    sub opening_port
    {
    ...
    
    close($serial);
    }
    
  2. or download this
    sub open_port
    {
    if($listbox1->curselection) 
    ...
    {
    &portwarning;
    }
    
  3. or download this
    $btn1=$mw->Button(-text=>"Open",-width=>5,-height=>2,-command=>\&open_
    +port)
            ->place(-relx=>0.05,-rely=>0.25);
    $btn2=$mw->Button(-text=>"Close",-width=>5,-height=>2,-command=>\&clos
    +e_port)
            ->place(-relx=>0.15,-rely=>0.25);