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

Read all HiTechnic SuperPro board analog input values.

Read all 4 analog input values from the HiTechnic SuperPro 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.
Returns
The function call result.
Examples:
ex_superpro.nxc.