ArduinoBasicIO
1.0
Make basic operations with Arduino easier
|
#include <BaseInputs.h>
Public Member Functions | |
SwitchedInputBase (uint8_t pin) | |
virtual bool | isOn ()=0 |
virtual bool | isOff ()=0 |
![]() | |
DigitalInputPin () | |
DigitalInputPin (uint8_t pin) | |
bool | isHigh () |
bool | isLow () |
bool | inputChanged () |
bool | raisingChanged () |
bool | fallingChanged () |
![]() | |
ArduinoPin () | |
ArduinoPin (uint8_t pin) | |
virtual | ~ArduinoPin () |
void | setPinMode (uint8_t mode) |
void | setPin (uint8_t pin) |
void | initPin (uint8_t pin, uint8_t mode) |
void | initOutput (uint8_t pin) |
void | initInput (uint8_t pin) |
void | initOutput () |
void | initInput () |
virtual int | readDigital () |
virtual int | readAnalog () |
virtual void | writeDigital (uint8_t value) |
virtual void | writeAnalog (uint8_t value) |
Additional Inherited Members | |
![]() | |
uint8_t | lastInput |
![]() | |
uint8_t | arduinoPin |
Base class for making on/off switched input
|
pure virtual |
Check if it's off
Implemented in HighOnSwitchedInput, LowOnSwitchedInput, and SwitchedInput.
|
pure virtual |
Check if it's on
Implemented in HighOnSwitchedInput, LowOnSwitchedInput, and SwitchedInput.