Skip to content
This repository was archived by the owner on Jun 23, 2026. It is now read-only.

Latest commit

 

History

History
30 lines (21 loc) · 1.11 KB

File metadata and controls

30 lines (21 loc) · 1.11 KB

Changelog

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[1.0.0] - 2026-06-22

Documentation refresh of the original 2022 module. No behavior changes.

Fixed

  • The I2C busy-gate was not exception-safe: if the I/O call raised, the lock event was never restored, deadlocking later calls. The critical section is now wrapped in try/finally.

Added

  • Full README (features, requirements, installation, usage, API).
  • This changelog.
  • .gitattributes for consistent line endings.

Changed

  • Cleaned up source comments and docstrings (concise English); removed noisy print in the write error path in favour of logging. Logic unchanged.
  • Bumped module metadata (__version__ 1.0.0, copyright 2022-2026).

[0.1.0] - 2022-10-24

First working version (legacy).

Added

  • CAT9555(i2c_port, address, logger) driver with read_config/write_config, read_polarity/write_polarity, write_output and read_state.
  • Thread-safe I/O via a threading.Event lock, backed by smbus2.