|
void | Init (uint8_t pin) |
| Initializes a analog input object.
|
|
void | Process () |
| Read the value of the analog input.
|
|
uint16_t | Read () |
| Get the current value of the analog input.
|
|
◆ Init()
void modulove::AnalogInput::Init |
( |
uint8_t |
pin | ) |
|
|
inline |
Initializes a analog input object.
- Parameters
-
pin | gpio pin for the analog input. |
◆ Read()
uint16_t modulove::AnalogInput::Read |
( |
| ) |
|
|
inline |
Get the current value of the analog input.
- Returns
- InputState
The documentation for this class was generated from the following file: