Ignore:
Timestamp:
Apr 17, 2007 12:43:01 PM (16 years ago)
Author:
ajj
Message:

Added Init code to set motor channel and velocity and print some info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/utils/bt5/tilt/tilt

    r89 r90  
    7171pack .fmain -fill both -expand true -anchor nw 
    7272 
     73exp_send "\r" 
     74expect -re ">" { $tf.output insert end $expect_out(buffer) 
     75                exec_cmd "VER"  
     76                } 
     77expect -re ">" { $tf.output insert end $expect_out(buffer) 
     78                 exec_cmd "CHL A1=0"  
     79                } 
     80expect -re ">" { $tf.output insert end $expect_out(buffer) 
     81                exec_cmd "VEL A1 0=100"  
     82                } 
     83expect -re ">" { $tf.output insert end $expect_out(buffer) 
     84                exec_cmd "VEL A1 0"  
     85                } 
     86expect -re ">" { $tf.output insert end $expect_out(buffer) 
     87                exec_cmd "ACC A1 0"  
     88                } 
     89expect -re ">" { $tf.output insert end $expect_out(buffer) } 
     90 
    7391expect_background { 
    7492        -re ">" { 
     
    7997        } 
    8098}                
    81  
    82 exp_send "\r" 
Note: See TracChangeset for help on using the changeset viewer.