![]() |
|
|||||||||||||
|
|
|||||||||||||
| t.intro.pwm | Controls the Duty Cycle of one of the Intro Module'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. | ||
| 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.intro.pwm object is being used to control the default Intro Module's P0 device. Device 0 is the default. |
|||
| See
Also |
PWM section of the Teleo Mini Intro Set User Guide | ||
![]() |
|||
|
copyright © 2002-2005 MakingThings LLC |