Nol.A SDK Library 26.11.2
For IoT System Software Development
Loading...
Searching...
No Matches
PCF8574.hpp File Reference

Public driver declarations and configuration constants. More...

#include "TwoWire.hpp"

Classes

class  PCF8574
 PCF8574 eight-pin quasi-bidirectional I2C expander. Call begin() first. Release input pins by writing 1; check lastError() after I/O. More...

Macros

#define PCF8574_LIB_VERSION   (F("0.4.2"))
 Upstream PCF8574 library version string.
#define PCF8574_INITIAL_VALUE   0xFF
 Default output latch byte, with all pins released high.
#define PCF8574_OK   0x00
 No stored PCF8574 error.
#define PCF8574_PIN_ERROR   0x81
 Invalid PCF8574 pin index.
#define PCF8574_I2C_ERROR   0x82
 PCF8574 I2C read failure.

Detailed Description

Public driver declarations and configuration constants.