|
ArduinoBasicIO
1.0
Make basic operations with Arduino easier
|
#include <BaseOutputs.h>
Public Member Functions | |
| DigitalActuator () | |
| DigitalActuator (uint8_t pin, uint8_t onLevel=true) | |
| void | initActuator (uint8_t pin, uint8_t onLevel=true) |
| virtual void | on () |
| virtual void | off () |
| virtual bool | isOn () |
| virtual bool | isOff () |
Protected Attributes | |
| uint8_t | highOn |
Additional Inherited Members | |
Protected Member Functions inherited from ActuatorBase | |
| ActuatorBase () | |
| ActuatorBase (uint8_t pin) | |
| virtual void | initActuator (uint8_t pin) |
An easier way of handling on/off actuators. Choose the type of basic actuator you're using by indicating the value that turns the actuator on.
|
inline |
Default constructor
|
inline |
Pin setting included constructor.
|
inline |
Output pin initialization to off.
| onLevel | Digital level for turning the actuator on,opened,whatever. HIGH,true or any number bigger than 0 means the opposite of LOW,false or 0. |
|
inlinevirtual |
Check if it's off
Reimplemented from ActuatorBase.
|
inlinevirtual |
Check if it's on
Reimplemented from ActuatorBase.
|
inlinevirtual |
Turn it off
Implements ActuatorBase.
|
inlinevirtual |
Turn it on
Implements ActuatorBase.