#include <digital.hpp>
Public Member Functions | |
| Digital (unsigned char port) | |
| void | setValue (bool value) |
| void | setOutput (bool output) |
| bool | isOutput () const |
| void | setPullup (bool pullup) |
| bool | pullup () const |
| virtual bool | value () const |
Public Member Functions inherited from Sensor< bool > | |
| virtual | ~Sensor () |
| Digital::Digital | ( | unsigned char | port | ) |
| bool Digital::isOutput | ( | ) | const |
| bool Digital::pullup | ( | ) | const |
| void Digital::setOutput | ( | bool | output | ) |
| void Digital::setPullup | ( | bool | pullup | ) |
| void Digital::setValue | ( | bool | value | ) |
|
virtual |
Implements Sensor< bool >.