Arduino-TWI
Two-Wire Interface (TWI) library for Arduino
|
#include <PCF8574.h>
Public Member Functions | |
GPIO (PCF8574 &dev) | |
void | input () |
void | output () |
bool | read () |
operator bool () | |
void | write (int value) |
void | operator= (int value) |
Static Public Attributes | |
static const uint8_t | MASK = (1 << (PIN & 0x7)) |
Protected Attributes | |
PCF8574 & | m_dev |
PCF8574 based General Purpose Digital I/O pin template class.
[in] | PIN | index on device (0..7). |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
static |