PRODUCTS
 
   

DOCUMENTATION

SERVO USER GUIDE
 
 

Teleo Servo

  t.servo  

Control a Hobby Servo connected
to the Teleo Servo Module

  Input    
  int   Position: Desired servo position between Min and Max.
       
  int   Enable: Controls whether the servo is on (1) or not (0).
       
  int   Min: Minimum value. Default -100.
       
  int   Max: Maximum value. Default 100.
       
     

All of the inputs above may be passed to the leftmost inlet as strings of the form

[attribute] [value]

The attribute name is not case sensitive.

When the plain string "enable" is sent to the object, the servo enable state is toggled between off and on.

       
 
Arguments
   
  int   Device: (optional) Specifies the Servo device number. Default is 0 if omitted.
       
  int   Address: (optional) Specifies the Module Address the Max object is to bind to. Format @address=x where 2 < X < 64.
       
     

All of the inputs above (i.e. Position, Enable, Min, Max) may be passed to the object at create time by using the following format:

@[attribute]=[value]

The attribute name is not case sensitive. There must be no spaces between the attribute and the equals sign (=) or between the equals sign and the value.

       
 
Output
   
       
 
Examples
   
     

A t.servo object is being used to control a Hobby Servo. The output range has been set by parameter to be 0 to 90. Since most servos move about 90°, the Position input can be treated as an angle. The Servo being controlled is the one connected on the S0 connector since 0 is the default.

       
 
See Also
  Servo section of the Teleo Servo User Guide
 

 

 

copyright © 2002-2005 MakingThings LLC

...
.