Superclass for pin-based components. More...
#include <PqCore.h>

Public Member Functions | |
| PinConfig (uint8_t pin, uint8_t mode) | |
| uint8_t | pin () const |
| Returns the pin this component is attached to. | |
| uint8_t | mode () const |
| Returns the mode of the component. | |
| virtual void | mode (uint8_t mode) |
| Changes the mode of the component. | |
Protected Attributes | |
| uint8_t | _pin |
| uint8_t | _mode |
Superclass for pin-based components.
|
inlinevirtual |
Changes the mode of the component.
Reimplemented in pq::DigitalIn, and pq::DigitalOut.