![]() |
|
|||||||||||||
|
|
|||||||||||||
| t.mio.din |
Read values from MultiIO
Digital-In Terminal |
||
| Input | |||
| int | SampleRate: Update interval in milliseconds. Default 100ms. Sending 0 or a bang will trigger an update and suspend the automatic updates. Minimum value 1ms and the maximum 32000ms | ||
| int | Invert: Determines whether the output is inverted (1) or not (0). The default is 1. See the Digital In documentation for why this is. | ||
|
Both of the inputs above may be passed to the leftmost inlet as strings of the form
The attribute name is not case sensitive. Invert may be passed as a single string (i.e. "invert") and the value of invert will be changed. |
|||
|
Arguments
|
|||
| int | Device: (optional) Specifies the Digital In 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. | ||
|
Both of the inputs above (SampleRate and Invert) may be passed to the object at create time as arguments 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
|
|||
| int | Value: current output | ||
|
Examples
|
|||
|
A t.mio.din object is being used to read the default MultiIO's DI0 device. Device 0 is the default. |
|||
|
See Also
|
Digital In section of the Teleo MultiIO User Guide | ||
![]() |
|||
|
copyright © 2002-2005 MakingThings LLC |