HF-PCAL95555 Documentation
Welcome! This directory contains step-by-step guides for installing, building, and using the HF-PCAL95555 library – a hardware-agnostic C++ driver for the PCA9555 and PCAL9555A 16-bit I/O expanders.
The driver auto-detects which chip variant is connected and enables features accordingly. Standard PCA9555 features work on both chips; PCAL9555A-only features (pull resistors, drive strength, input latch, interrupt mask/status, output mode) degrade gracefully on a PCA9555.
📚 Documentation Structure
Getting Started
- 🛠️ Installation – How to integrate the driver into your project
- ⚡ Quick Start – Minimal working example to get you running
- 🔌 Hardware Setup – Wiring diagrams and pin connections
Integration
- 🔧 Platform Integration – Implement the CRTP I2C interface for your platform
- ⚙️ Configuration – Configuration options and Kconfig settings
Reference
- 📖 API Reference – Complete API documentation (43 methods)
- 💡 Examples – Detailed example walkthroughs (comprehensive test + LED animation)
Troubleshooting
- 🐛 Troubleshooting – Common issues and solutions
🚀 Quick Start Path
New to PCAL95555? Follow this recommended path:
- Start with Installation to integrate the driver
- Follow Hardware Setup to wire your I/O expander
- Read Quick Start for a minimal working example
- Check Platform Integration to implement the I2C interface
- Explore Examples for more advanced usage
💡 Need Help?
- 🐛 Found a bug? Check the Troubleshooting guide
- ❓ Have questions? Review the API Reference
- 📝 Want to contribute? See the contributing guidelines in the main README
Navigation ➡️ Installation