@FunctionalInterface
public interface ADC
This interface has been created to allow to easily add a new ADC in the framework,
and use this ADC with each AnalogComponent.
| Modifier and Type | Method and Description |
|---|---|
int |
analogToDigital(ADCChannel inputChannel)
Read a digital value from the ADC through I2C.
|
int analogToDigital(ADCChannel inputChannel)
inputChannel - the input channel on the ADC from which to read the data.