![]() |
|
|||||||||||||
|
|
|||||||||||||
| t.mio.pwm |
Controls the Duty Cycle of
one of the MultiIO's PWM outputs |
||
| Input | |||
| int | Value: Sets the value at the output. Ranges from 0 to Max | ||
| int | Max: Maximum value. | ||
| int | On: Controls whether the PWM is on or not | ||
|
All of the inputs above may be passed to the leftmost inlet as strings of the form
The attribute name is not case sensitive. |
|||
|
Arguments
|
|||
| int | Device: (optional) Specifies the PWM device number - 0 or 1. 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. Value, Max, On) may be passed to the object at create time by using the following format:
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.mio.pwm object is being used to control the default MultiIO's P0 device. Device 0 is the default. |
|||
|
See Also
|
PWM section of the Teleo MultiIO User Guide | ||
![]() |
|||
|
copyright © 2002-2005 MakingThings LLC |