|
ArduinoBasicIO
1.0
Make basic operations with Arduino easier
|
Public Member Functions | |
| ActuatorBase () | |
| ActuatorBase (uint8_t pin) | |
| virtual void | on ()=0 |
| virtual void | off ()=0 |
| virtual bool | isOn () |
| virtual bool | isOff () |
Public Member Functions inherited from DigitalOutputPin | |
| DigitalOutputPin () | |
| DigitalOutputPin (uint8_t pin) | |
| virtual void | writeDigital (uint8_t state) |
| virtual void | writeAnalog (uint8_t value) |
| void | high () |
| void | low () |
| void | changeState () |
| virtual bool | isHigh () |
| virtual bool | isLow () |
| uint8_t | outputValue () |
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 () |
Protected Member Functions | |
| virtual void | initActuator (uint8_t pin) |
Protected Member Functions inherited from DigitalOutputPin | |
| void | storeOutputValue (uint8_t newValue) |
Additional Inherited Members | |
Protected Attributes inherited from DigitalOutputPin | |
| uint8_t | outputState |
|
inline |
Default constructor
|
inline |
Pin setting included constructor.
|
inlineprotectedvirtual |
Output pin initialization to off. State is off
|
inlinevirtual |
Check if it's off
Reimplemented in HighOnActuator, LowOnActuator, and DigitalActuator.
|
inlinevirtual |
Check if it's on
Reimplemented in HighOnActuator, LowOnActuator, and DigitalActuator.
|
pure virtual |
Turn it off
Implemented in HighOnActuator, LowOnActuator, DigitalActuator, and SimpleLed.
|
pure virtual |
Turn it on
Implemented in HighOnActuator, LowOnActuator, DigitalActuator, and SimpleLed.