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

Read HiTechnic SuperPro board analog input value.

Read an analog input value from the HiTechnic SuperPro 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 SuperPro analog input index constants.
Returns
The analog input value.
Examples:
ex_superpro.nxc.