0.1.1 PCA9552

This commit is contained in:
Rob Tillaart 2023-09-25 20:46:54 +02:00
parent cdfff28d4c
commit 164806af8d
6 changed files with 27 additions and 12 deletions

View File

@ -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.1.1] - 2023-09-25
- add Wire1 support for ESP32
- update readme.md
## [0.1.0] - 2023-07-17
- initial version
- based upon PCA9553

View File

@ -2,7 +2,7 @@
// FILE: PCA9552.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-07-17
// VERSION: 0.1.0
// VERSION: 0.1.1
// PURPOSE: Arduino library for for I2C PCA9552 16 channel PWM
// URL: https://github.com/RobTillaart/PCA9552
@ -26,7 +26,6 @@ PCA9552::PCA9552(const uint8_t deviceAddress, TwoWire *wire)
#if defined (ESP8266) || defined(ESP32)
bool PCA9552::begin(int sda, int scl)
{
_wire = &Wire;
if ((sda < 255) && (scl < 255))
{
_wire->begin(sda, scl);

View File

@ -3,7 +3,7 @@
// FILE: PCA9552.h
// AUTHOR: Rob Tillaart
// DATE: 2023-07-17
// VERSION: 0.1.0
// VERSION: 0.1.1
// PUPROSE: Arduino library for for I2C PCA9552 16 channel PWM
// URL: https://github.com/RobTillaart/PCA9552
@ -12,7 +12,7 @@
#include "Wire.h"
#define PCA9552_LIB_VERSION (F("0.1.0"))
#define PCA9552_LIB_VERSION (F("0.1.1"))
// REGISTERS
@ -47,7 +47,7 @@
/////////////////////////////////////////////////////
//
// CLASS
// CLASS PCA9552
//
class PCA9552
{

View File

@ -2,8 +2,11 @@
[![Arduino CI](https://github.com/RobTillaart/PCA9552/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
[![Arduino-lint](https://github.com/RobTillaart/PCA9552/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/PCA9552/actions/workflows/arduino-lint.yml)
[![JSON check](https://github.com/RobTillaart/PCA9552/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/PCA9552/actions/workflows/jsoncheck.yml)
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/PCA9552.svg)](https://github.com/RobTillaart/PCA9552/issues)
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/PCA9552/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/RobTillaart/PCA9552.svg?maxAge=3600)](https://github.com/RobTillaart/PCA9552/releases)
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/PCA9552.svg)](https://registry.platformio.org/libraries/robtillaart/PCA9552)
# PCA9552
@ -52,7 +55,6 @@ Follow up series
- https://github.com/RobTillaart/PCA9685_RT (16 channel)
## Interface
```cpp
@ -195,3 +197,12 @@ These are kept similar to PCA9635 et al error codes.
#### 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,

View File

@ -15,9 +15,9 @@
"type": "git",
"url": "https://github.com/RobTillaart/PCA9552.git"
},
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"frameworks": "arduino",
"frameworks": "*",
"platforms": "*",
"headers": "PCA9552.h"
}

View File

@ -1,5 +1,5 @@
name=PCA9552
version=0.1.0
version=0.1.1
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Arduino library for PCA9552 I2C LED driver 16 channel