diff --git a/libraries/PCF8591/CHANGELOG.md b/libraries/PCF8591/CHANGELOG.md index 051e3c90..b3dccc9d 100644 --- a/libraries/PCF8591/CHANGELOG.md +++ b/libraries/PCF8591/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.2.1] - 2023-09-23 +- add Wire1 support for ESP32 +- update readme.md + + ## [0.2.0] - 2023-02-23 - fix#10 analogRead() for differential modi. - add defines for 4 different modi diff --git a/libraries/PCF8591/PCF8591.cpp b/libraries/PCF8591/PCF8591.cpp index 3352d593..823726c9 100644 --- a/libraries/PCF8591/PCF8591.cpp +++ b/libraries/PCF8591/PCF8591.cpp @@ -2,7 +2,7 @@ // FILE: PCF8591.cpp // AUTHOR: Rob Tillaart // DATE: 2020-03-12 -// VERSION: 0.2.0 +// VERSION: 0.2.1 // PURPOSE: I2C PCF8591 library for Arduino // URL: https://github.com/RobTillaart/PCF8591 @@ -37,7 +37,6 @@ PCF8591::PCF8591(const uint8_t address, TwoWire *wire) #if defined (ESP8266) || defined(ESP32) bool PCF8591::begin(uint8_t sda, uint8_t scl, uint8_t val) { - _wire = &Wire; if ((sda < 255) && (scl < 255)) { _wire->begin(sda, scl); diff --git a/libraries/PCF8591/PCF8591.h b/libraries/PCF8591/PCF8591.h index b0c1aadf..9cfa5006 100644 --- a/libraries/PCF8591/PCF8591.h +++ b/libraries/PCF8591/PCF8591.h @@ -3,7 +3,7 @@ // FILE: PCF8591.h // AUTHOR: Rob Tillaart // DATE: 2020-03-12 -// VERSION: 0.2.0 +// VERSION: 0.2.1 // PURPOSE: I2C PCF8591 library for Arduino // URL: https://github.com/RobTillaart/PCF8591 @@ -12,7 +12,7 @@ #include "Wire.h" -#define PCF8591_LIB_VERSION (F("0.2.0")) +#define PCF8591_LIB_VERSION (F("0.2.1")) #define PCF8591_OK 0x00 #define PCF8591_PIN_ERROR 0x81 diff --git a/libraries/PCF8591/README.md b/libraries/PCF8591/README.md index 77f5d487..b908d5f7 100644 --- a/libraries/PCF8591/README.md +++ b/libraries/PCF8591/README.md @@ -2,8 +2,11 @@ [![Arduino CI](https://github.com/RobTillaart/PCF8591/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci) [![Arduino-lint](https://github.com/RobTillaart/PCF8591/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/PCF8591/actions/workflows/arduino-lint.yml) [![JSON check](https://github.com/RobTillaart/PCF8591/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/PCF8591/actions/workflows/jsoncheck.yml) +[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/PCF8591.svg)](https://github.com/RobTillaart/PCF8591/issues) + [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/PCF8591/blob/master/LICENSE) [![GitHub release](https://img.shields.io/github/release/RobTillaart/PCF8591.svg?maxAge=3600)](https://github.com/RobTillaart/PCF8591/releases) +[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/PCF8591.svg)](https://registry.platformio.org/libraries/robtillaart/PCF8591) # PCF8591 @@ -150,3 +153,12 @@ See examples. #### Wont +## Support + +If you appreciate my libraries, you can support the development and maintenance. +Improve the quality of the libraries by providing issues and Pull Requests, or +donate through PayPal or GitHub sponsors. + +Thank you, + + diff --git a/libraries/PCF8591/library.json b/libraries/PCF8591/library.json index b7b4addd..b6d6fdcf 100644 --- a/libraries/PCF8591/library.json +++ b/libraries/PCF8591/library.json @@ -15,9 +15,9 @@ "type": "git", "url": "https://github.com/RobTillaart/PCF8591.git" }, - "version": "0.2.0", + "version": "0.2.1", "license": "MIT", - "frameworks": "arduino", + "frameworks": "*", "platforms": "*", "headers": "PCF8591.h" } diff --git a/libraries/PCF8591/library.properties b/libraries/PCF8591/library.properties index d3061ea8..70616a2c 100644 --- a/libraries/PCF8591/library.properties +++ b/libraries/PCF8591/library.properties @@ -1,5 +1,5 @@ name=PCF8591 -version=0.2.0 +version=0.2.1 author=Rob Tillaart maintainer=Rob Tillaart sentence=PCF8591 library for Arduino. Supports multiple I2C WireN bus.