NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void SetInput ( const byte &  port,
const int  field,
variant  value 
)
inline

Set an input field value.

Set the specified field of the sensor on the specified port to the value provided.

Parameters
portThe sensor port. See Input port constants. A constant or a variable may be used (no expressions).
fieldAn input field constant. See Input field constants.
valueThe new value, which may be any valid expression.
Examples:
ex_SetInput.nxc.