Class ADC
- java.lang.Object
-
- com.inhousegreenhouse.ch.backend.model.greenhouse.converter.ADC
-
public class ADC extends java.lang.ObjectThis class represents the MCP3008 Analog-To-Digital Converter chip connected of the Raspberry Pi.
-
-
Field Summary
Fields Modifier and Type Field Description static shortADC_CHANNEL_COUNTThe 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 intread(int channel)Reads the value of the specified ADC channel.
-