mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.7.0 MCP23017_RT
This commit is contained in:
parent
6793ef4058
commit
d3aebd28d6
@ -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/).
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
|
||||||
|
## [0.7.0] 2024-06-06
|
||||||
|
- fix #33 bug, kudos to JelleWilbrink
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
## [0.6.3] 2024-05-25
|
## [0.6.3] 2024-05-25
|
||||||
- sync MCP23S17, add several interrupt functions (experimental)
|
- sync MCP23S17, add several interrupt functions (experimental)
|
||||||
- add **MCP23x17_registers.h**
|
- add **MCP23x17_registers.h**
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
//
|
//
|
||||||
// FILE: MCP23017.cpp
|
// FILE: MCP23017.cpp
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// VERSION: 0.6.3
|
// VERSION: 0.7.0
|
||||||
// PURPOSE: Arduino library for I2C MCP23017 16 channel port expander
|
// PURPOSE: Arduino library for I2C MCP23017 16 channel port expander
|
||||||
// DATE: 2019-10-12
|
// DATE: 2019-10-12
|
||||||
// URL: https://github.com/RobTillaart/MCP23017_RT
|
// URL: https://github.com/RobTillaart/MCP23017_RT
|
||||||
@ -756,7 +756,7 @@ bool MCP23017::writeReg16(uint8_t reg, uint16_t value)
|
|||||||
_wire->beginTransmission(_address);
|
_wire->beginTransmission(_address);
|
||||||
_wire->write(reg);
|
_wire->write(reg);
|
||||||
_wire->write(value >> 8);
|
_wire->write(value >> 8);
|
||||||
_wire->write(value && 0xFF);
|
_wire->write(value & 0xFF);
|
||||||
if (_wire->endTransmission() != 0)
|
if (_wire->endTransmission() != 0)
|
||||||
{
|
{
|
||||||
_error = MCP23017_I2C_ERROR;
|
_error = MCP23017_I2C_ERROR;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// FILE: MCP23017.h
|
// FILE: MCP23017.h
|
||||||
// AUTHOR: Rob Tillaart
|
// AUTHOR: Rob Tillaart
|
||||||
// VERSION: 0.6.3
|
// VERSION: 0.7.0
|
||||||
// PURPOSE: Arduino library for I2C MCP23017 16 channel port expander
|
// PURPOSE: Arduino library for I2C MCP23017 16 channel port expander
|
||||||
// DATE: 2019-10-12
|
// DATE: 2019-10-12
|
||||||
// URL: https://github.com/RobTillaart/MCP23017_RT
|
// URL: https://github.com/RobTillaart/MCP23017_RT
|
||||||
@ -15,7 +15,7 @@
|
|||||||
#include "MCP23x17_registers.h"
|
#include "MCP23x17_registers.h"
|
||||||
|
|
||||||
|
|
||||||
#define MCP23017_LIB_VERSION (F("0.6.3"))
|
#define MCP23017_LIB_VERSION (F("0.7.0"))
|
||||||
|
|
||||||
#define MCP23017_OK 0x00
|
#define MCP23017_OK 0x00
|
||||||
#define MCP23017_PIN_ERROR 0x81
|
#define MCP23017_PIN_ERROR 0x81
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/RobTillaart/MCP23017_RT.git"
|
"url": "https://github.com/RobTillaart/MCP23017_RT.git"
|
||||||
},
|
},
|
||||||
"version": "0.6.3",
|
"version": "0.7.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"frameworks": "*",
|
"frameworks": "*",
|
||||||
"platforms": "*",
|
"platforms": "*",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name=MCP23017_RT
|
name=MCP23017_RT
|
||||||
version=0.6.3
|
version=0.7.0
|
||||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||||
sentence=Arduino library for I2C MCP23017 16 channel port expander 16 IO-lines
|
sentence=Arduino library for I2C MCP23017 16 channel port expander 16 IO-lines
|
||||||
|
Loading…
Reference in New Issue
Block a user