mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.1.1 PCA9551
This commit is contained in:
parent
67b03021cc
commit
cdfff28d4c
@ -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.0] - 2023-09-25
|
||||
- add Wire1 support for ESP32
|
||||
- update readme.md
|
||||
|
||||
|
||||
## [0.1.0] - 2023-07-17
|
||||
- initial version
|
||||
- based upon PCA9553
|
||||
|
@ -2,7 +2,7 @@
|
||||
// FILE: PCA9551.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// DATE: 2023-07-17
|
||||
// VERSION: 0.1.0
|
||||
// VERSION: 0.1.1
|
||||
// PURPOSE: Arduino library for for I2C PCA9551 8 channel PWM
|
||||
// URL: https://github.com/RobTillaart/PCA9551
|
||||
|
||||
@ -26,7 +26,6 @@ PCA9551::PCA9551(const uint8_t deviceAddress, TwoWire *wire)
|
||||
#if defined (ESP8266) || defined(ESP32)
|
||||
bool PCA9551::begin(int sda, int scl)
|
||||
{
|
||||
_wire = &Wire;
|
||||
if ((sda < 255) && (scl < 255))
|
||||
{
|
||||
_wire->begin(sda, scl);
|
||||
|
@ -3,7 +3,7 @@
|
||||
// FILE: PCA9551.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// DATE: 2023-07-17
|
||||
// VERSION: 0.1.0
|
||||
// VERSION: 0.1.1
|
||||
// PUPROSE: Arduino library for for I2C PCA9551 8 channel PWM
|
||||
// URL: https://github.com/RobTillaart/PCA9551
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "Wire.h"
|
||||
|
||||
|
||||
#define PCA9551_LIB_VERSION (F("0.1.0"))
|
||||
#define PCA9551_LIB_VERSION (F("0.1.1"))
|
||||
|
||||
|
||||
// REGISTERS
|
||||
@ -44,7 +44,7 @@
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
//
|
||||
// CLASS
|
||||
// CLASS PCA9551
|
||||
//
|
||||
class PCA9551
|
||||
{
|
||||
|
@ -2,8 +2,11 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/PCA9551/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/PCA9551/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/PCA9551/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/PCA9551/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/PCA9551/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/PCA9551.svg)](https://github.com/RobTillaart/PCA9551/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/PCA9551/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/PCA9551.svg?maxAge=3600)](https://github.com/RobTillaart/PCA9551/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/PCA9551.svg)](https://registry.platformio.org/libraries/robtillaart/PCA9551)
|
||||
|
||||
|
||||
# PCA9551
|
||||
@ -47,9 +50,9 @@ all zeroes, causing the bits to be set HIGH (LED off).
|
||||
- https://github.com/RobTillaart/PCA9553 (4 channel)
|
||||
|
||||
Follow up series
|
||||
- https://github.com/RobTillaart/PCA9634 (8 channel)
|
||||
- https://github.com/RobTillaart/PCA9635 (16 channel)
|
||||
- https://github.com/RobTillaart/PCA9685_RT (16 channel)
|
||||
- https://github.com/RobTillaart/PCA9634 (8 channel)
|
||||
- https://github.com/RobTillaart/PCA9635 (16 channel)
|
||||
- https://github.com/RobTillaart/PCA9685_RT (16 channel)
|
||||
|
||||
|
||||
|
||||
@ -195,3 +198,11 @@ 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,
|
||||
|
||||
|
@ -15,9 +15,9 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/PCA9551.git"
|
||||
},
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "PCA9551.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=PCA9551
|
||||
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 PCA9551 I2C LED driver 8 channel
|
||||
|
Loading…
x
Reference in New Issue
Block a user