NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
bool ReadSensorHTSuperProAnalogOut ( const byte  port,
const byte  dac,
byte &  mode,
int &  freq,
int &  volt 

Read HiTechnic SuperPro board analog output parameters.

Read the analog output parameters on 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.

portThe sensor port. See NBC Input port constants.
dacThe analog output index. See HiTechnic SuperPro analog output index constants.
modeThe analog output mode. See SuperPro analog output mode constants.
freqThe analog output frequency. Between 1 and 8191.
voltThe analog output voltage level. A 10 bit value (0..1023).
The function call result.