NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool ReadSensorHTProtoAllAnalog ( const byte  port,
int &  a0,
int &  a1,
int &  a2,
int &  a3,
int &  a4 
)
inline

Read all HiTechnic Prototype board analog input values.

Read all 5 analog input values from the HiTechnic prototype board. Returns a boolean value indicating whether or not the operation completed successfully. The port must be configured as a Lowspeed port before using this function.

Parameters
portThe sensor port. See Input port constants.
a0The A0 analog input value.
a1The A1 analog input value.
a2The A2 analog input value.
a3The A3 analog input value.
a4The A4 analog input value.
Returns
The function call result.
Examples:
ex_proto.nxc.