lib Modulove
Library for building custom scripts for Modulove modules.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
modulove::AnalogInput Class Reference

Public Member Functions

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.
 

Member Function Documentation

◆ Init()

void modulove::AnalogInput::Init ( uint8_t  pin)
inline

Initializes a analog input object.

Parameters
pingpio 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: