You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changelog
[1.1.0] - 2025-02-20
Added
Adjustable I2C Clock Speed: Added a clockSpeed parameter to the begin() method, allowing users to set the I2C frequency (e.g., 100 kHz, 400 kHz). Defaults to 100 kHz for compatibility. The TCA9555 supports up to 400 kHz, while ESP32 variants can go higher.
Updated documentation in README.md to reflect the new clock speed feature, including usage notes and example.
Modified library.json description and keywords to mention adjustable clock speed.
Updated the example sketch (interrupt_example.ino) to demonstrate the new clockSpeed parameter.
Notes
This is a minor update with no breaking changes; existing code using begin() without the clockSpeed parameter will continue to work as before, defaulting to 100 kHz.
[1.0.0] - 2025-02-19
Initial Release
Initial version of the SimpleTCA9555 library.
Features:
Reading all 16 inputs (P00-P07 on Port 0, P10-P17 on Port 1) from the TCA9555.
Input redefinition using #define (e.g., #define reed_switch input_1).
Optional interrupt-driven updates via the TCA9555's INT pin.
Compatible with all ESP32 variants under the Arduino framework via PlatformIO.
Default I2C clock speed fixed at 100 kHz (Arduino default).