NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
int SensorHTProtoAnalog ( const byte  port,
const byte  input 
)
inline

Read HiTechnic Prototype board analog input value.

Read an analog input value from the HiTechnic prototype board. The port must be configured as a Lowspeed port before using this function.

Parameters
portThe sensor port. See Input port constants.
inputThe analog input. See HiTechnic Prototype board analog input constants.
Returns
The analog input value.
Examples:
ex_proto.nxc.