|
ArduinoBasicIO
1.0
Make basic operations with Arduino easier
|
#include <BaseInputs.h>
Public Member Functions | |
| LowOnSwitchedInput () | |
| LowOnSwitchedInput (uint8_t pin) | |
| virtual bool | isOn () |
| virtual bool | isOff () |
Public Member Functions inherited from SwitchedInputBase | |
| SwitchedInputBase (uint8_t pin) | |
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 |
An easier way of handling digital inputs considered ON when input is LOW . Use this instead of SwitchedInput if you want it lighter.
|
inline |
Default constructor
|
inline |
Pin setting included constructor.
|
inlinevirtual |
Check if it's off
Implements SwitchedInputBase.
|
inlinevirtual |
Check if it's on
Implements SwitchedInputBase.