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

Set HiTechnic SuperPro board analog output parameters.

Set 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.

Parameters
portThe sensor port. See 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).
Returns
The function call result.
Examples:
ex_superpro.nxc.