User’s Manual
63
Reads the state of a single-ended analog input channel and uses the previously set calibration constants to
convert it to volts.
PARAMETER
channel
is the channel number (0–7):
gaincode
is the gain code of 0 to 7.
RETURN VALUE
A voltage value corresponding to the voltage on the analog input channel.
ADOVERFLOW (defined macro = -4096) if overflow or out of range.
SEE ALSO
anaInCalib, anaIn, anaInmAmps, brdInit
float anaInVolts(unsigned int channel, unsigned int
gaincode);
Channel Code
Single-Ended
Input Lines
*
* Negative input is ground.
0
+AIN0
1
+AIN1
2
+AIN2
3
+AIN3
4
+AIN4
5
+AIN5
6
+AIN6
7
+AIN7
Gain Code
Voltage
Range
0
0–20 V
1
0–10 V
2
0–5 V
3
0–4 V
4
0–2.5 V
5
0–2 V
6
0–1.25 V
7
0–1 V
Содержание Fox LP3500
Страница 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...
Страница 6: ...Fox LP3500...
Страница 14: ...8 Fox LP3500...
Страница 22: ...16 Fox LP3500...
Страница 44: ...38 Fox LP3500...
Страница 90: ...84 Fox LP3500...
Страница 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...
Страница 134: ...128 Fox LP3500...
Страница 140: ...134 Fox LP3500...
Страница 142: ......