jcontrol.io
Class ADC
java.lang.Object
jcontrol.io.ADC
public class ADC
- extends Object
Control of JControls analog-digital converter.
This is used to read out analog devices, e.g. thermometers, voltmeters connected to JControl.
The number of available ADC-channels is hardware dependent, you can
- Author:
- Marcus Timmermann, Andreas Wesseler
- Available on JControl Devices:
Constructor Summary |
ADC()
|
Method Summary |
static int |
getValue(int channel)
Returns the current Value of the selected channel (analog digital conversion
is performed immediately). |
ADC
public ADC()
getValue
public static int getValue(int channel)
- Returns the current Value of the selected channel (analog digital conversion
is performed immediately).
- Returns:
- the actual ADC value (range: 0 ... 255)