Files
zh_pcf8574/README.md
T

1.0 KiB

ESP32 ESP-IDF component for PCF8574 8-bit I/O expander

Wiki

EN | RU

Tested on

  1. ESP32 ESP-IDF v6.0.0

SAST Tools

PVS-Studio — static analyzer for C, C++, C#, and Java code.

Features

  1. I2C communication via esp-idf i2c_master driver.
  2. Configurable GPIO direction for each pin (P0-P7).
  3. Interrupt handling with GPIO level detection.
  4. Event-based architecture using esp_event framework.
  5. Statistics tracking for debugging and monitoring.

Using

In an existing project, run the following command to install the components:

cd ../your_project/components
git clone https://github.com/aZholtikov/zh_pcf8574

In the application, add the component:

#include "zh_pcf8574.h"

Examples

See Wiki EN | RU