mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-09-19 16:46:11 -04:00
0.1.5 MAX14661
This commit is contained in:
parent
6a26606ad5
commit
b601beab8b
@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
|
||||
## [0.1.4] - 2023-09-23
|
||||
- Add Wire1 support for ESP32
|
||||
- update readme.md
|
||||
|
||||
|
||||
## [0.1.4] - 2023-02-25
|
||||
- update readme.md
|
||||
- prepare error handling.
|
||||
@ -16,13 +21,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- update license 2023
|
||||
- minor edits
|
||||
|
||||
|
||||
## [0.1.3] - 2022-11-16
|
||||
- add RP2040 in build-CI
|
||||
- add changelog.md
|
||||
- minor edits readme.md
|
||||
|
||||
|
||||
## [0.1.2] - 2021-12-21
|
||||
- update library.json
|
||||
- update license,
|
||||
|
@ -2,7 +2,7 @@
|
||||
// FILE: MAX14661.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// DATE: 2021-01-29
|
||||
// VERSION: 0.1.4
|
||||
// VERSION: 0.1.5
|
||||
// PURPOSE: Arduino library for MAX14661 16 channel I2C multiplexer
|
||||
// URL: https://github.com/RobTillaart/MAX14661
|
||||
|
||||
@ -38,7 +38,6 @@ MAX14661::MAX14661(const uint8_t deviceAddress, TwoWire *wire)
|
||||
#if defined (ESP8266) || defined(ESP32)
|
||||
bool MAX14661::begin(uint8_t dataPin, uint8_t clockPin)
|
||||
{
|
||||
_wire = &Wire;
|
||||
if ((dataPin < 255) && (clockPin < 255))
|
||||
{
|
||||
_wire->begin(dataPin, clockPin);
|
||||
@ -430,7 +429,7 @@ uint8_t MAX14661::readRegister(uint8_t reg)
|
||||
_wire->beginTransmission(_address);
|
||||
_wire->write(reg);
|
||||
_error = _wire->endTransmission();
|
||||
if (_error != 0)
|
||||
if (_error != 0)
|
||||
{
|
||||
// set MAX14661_ERR_I2C
|
||||
return 0;
|
||||
|
@ -3,7 +3,7 @@
|
||||
// FILE: MAX14661.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// DATE: 2021-01-29
|
||||
// VERSION: 0.1.4
|
||||
// VERSION: 0.1.5
|
||||
// PURPOSE: Arduino library for MAX14661 16 channel I2C multiplexer
|
||||
// URL: https://github.com/RobTillaart/MAX14661
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "Wire.h"
|
||||
|
||||
|
||||
#define MAX14661_LIB_VERSION (F("0.1.4"))
|
||||
#define MAX14661_LIB_VERSION (F("0.1.5"))
|
||||
|
||||
#define MAX14661_OK 0x00
|
||||
#define MAX14661_ERR_I2C 0x80 // Not implemented yet
|
||||
|
@ -2,8 +2,11 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/MAX14661/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/MAX14661/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/MAX14661/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/MAX14661/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/MAX14661/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/MAX14661.svg)](https://github.com/RobTillaart/MAX14661/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/MAX14661/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/MAX14661.svg?maxAge=3600)](https://github.com/RobTillaart/MAX14661/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/MAX14661.svg)](https://registry.platformio.org/libraries/robtillaart/MAX14661)
|
||||
|
||||
|
||||
# MAX14661
|
||||
@ -187,6 +190,7 @@ See examples
|
||||
consequently or not?
|
||||
- MAX14661_ERR_ADDRESS ?
|
||||
|
||||
|
||||
#### Could
|
||||
|
||||
- optimize low level bit set/clr/get read/write 2 bytes at once.
|
||||
@ -199,7 +203,6 @@ See examples
|
||||
- implement.
|
||||
|
||||
|
||||
|
||||
#### Wont
|
||||
|
||||
- SPI interface.
|
||||
@ -208,3 +211,12 @@ See examples
|
||||
- depends on interface (PAIR MUX SHADOW) used, ambiguous.
|
||||
- ==> user task.
|
||||
|
||||
|
||||
## 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/MAX14661.git"
|
||||
},
|
||||
"version": "0.1.4",
|
||||
"version": "0.1.5",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "MAX14661.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=MAX14661
|
||||
version=0.1.4
|
||||
version=0.1.5
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino library for MAX14661 16 channel I2C multiplexer
|
||||
|
Loading…
Reference in New Issue
Block a user