diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c09fba..cf059c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,11 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.1.10] - 2023-09-24 +- fix Wire1 support for ESP32 (again) + + ## [0.1.9] - 2023-09-23 - add Wire1 support for ESP32 - update readme.md - ## [0.1.8] - 2023-02-04 - update readme.md - update GitHub actions diff --git a/PCF8575.cpp b/PCF8575.cpp index fc5dd59..a9ede28 100644 --- a/PCF8575.cpp +++ b/PCF8575.cpp @@ -2,7 +2,7 @@ // FILE: PCF8575.cpp // AUTHOR: Rob Tillaart // DATE: 2020-07-20 -// VERSION: 0.1.9 +// VERSION: 0.1.10 // PURPOSE: Arduino library for PCF8575 - 16 channel I2C IO expander // URL: https://github.com/RobTillaart/PCF8575 @@ -24,7 +24,6 @@ PCF8575::PCF8575(const uint8_t deviceAddress, TwoWire *wire) #if defined (ESP8266) || defined(ESP32) bool PCF8575::begin(int dataPin, int clockPin, uint16_t value) { - _wire = &Wire; if ((dataPin < 255) && (clockPin < 255)) { _wire->begin(dataPin, clockPin); diff --git a/PCF8575.h b/PCF8575.h index 9e4000b..b9da661 100644 --- a/PCF8575.h +++ b/PCF8575.h @@ -3,7 +3,7 @@ // FILE: PCF8575.h // AUTHOR: Rob Tillaart // DATE: 2020-07-20 -// VERSION: 0.1.9 +// VERSION: 0.1.10 // PURPOSE: Arduino library for PCF8575 - 16 channel I2C IO expander // URL: https://github.com/RobTillaart/PCF8575 @@ -12,7 +12,7 @@ #include "Wire.h" -#define PCF8575_LIB_VERSION (F("0.1.9")) +#define PCF8575_LIB_VERSION (F("0.1.10")) #ifndef PCF8575_INITIAL_VALUE diff --git a/library.json b/library.json index a3c1a6c..8826e48 100644 --- a/library.json +++ b/library.json @@ -15,7 +15,7 @@ "type": "git", "url": "https://github.com/RobTillaart/PCF8575.git" }, - "version": "0.1.9", + "version": "0.1.10", "license": "MIT", "frameworks": "*", "platforms": "*", diff --git a/library.properties b/library.properties index 3f31069..194c411 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=PCF8575 -version=0.1.9 +version=0.1.10 author=Rob Tillaart maintainer=Rob Tillaart sentence=Arduino library for PCF8575 - 16 channel I2C IO expander