Class ADC
- java.lang.Object
-
- com.inhousegreenhouse.ch.backend.model.greenhouse.converter.ADC
-
public class ADC extends java.lang.Object
This class represents the MCP3008 Analog-To-Digital Converter chip connected of the Raspberry Pi.
-
-
Field Summary
Fields Modifier and Type Field Description static short
ADC_CHANNEL_COUNT
The maximum number of channels available on the ADC chip.
-
Constructor Summary
Constructors Constructor Description ADC()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
read(int channel)
Reads the value of the specified ADC channel.
-