User`s manual

102 www.rabbit.com Applications Programming
flexAnaOutVolts
int flexAnaOutVolts(Flex_IOPin *pin, float voltage);
DESCRIPTION
Sets the voltage on a given analog output pin by using the previously set calibration constants to
calculate the correct data values. This function is non-reentrant.
PARAMETERS
pin Pointer to the information structure for the selected analog output pin.
voltage Voltage desired on the output pin.
RETURN VALUE
0: success
-1: error (not an analog output?)
SEE ALSO
flexAnaOut, flexAnaOutCalib