|
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 |
Public Member Functions inherited from DigitalInputPin | |
| DigitalInputPin () | |
| DigitalInputPin (uint8_t pin) | |
| bool | isHigh () |
| bool | isLow () |
| bool | inputChanged () |
| bool | raisingChanged () |
| bool | fallingChanged () |
Public Member Functions inherited from ArduinoPin | |
| 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 | |
Public Attributes inherited from DigitalInputPin | |
| uint8_t | lastInput |
Protected Attributes inherited from ArduinoPin | |
| 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.