User`s manual
RabbitFLEX User’s Manual www.rabbit.com 101
flexAnaOut
int flexAnaOut(Flex_IOPin *pin, int rawvalue);
DESCRIPTION
Sets the voltage on a given analog output pin and a raw value. This function is particularly useful
for calibration. This function is non-reentrant.
PARAMETERS
pin Pointer to the information structure for the selected analog output pin.
rawvalue Value corresponding to the voltage on the analog output (valid range is 0–
1024)
RETURN VALUE
0: success
-1: error (not an analog output?)
SEE ALSO
flexAnaOutVolts, flexAnaOutCalib