Skip to content

Commit f69fda5

Browse files
committed
update readme.md
1 parent ca390dc commit f69fda5

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88

9+
## [0.3.7] - 2022-11-16
10+
- fix #40 - add interrupt section to readme.md
11+
912
## [0.3.6] - 2022-10-19
1013
- fix example PCF8574_rotaryEncoder.ino
1114
- add RP2040 to build-CI

PCF8574.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// FILE: PCF8574.cpp
33
// AUTHOR: Rob Tillaart
44
// DATE: 02-febr-2013
5-
// VERSION: 0.3.6
5+
// VERSION: 0.3.7
66
// PURPOSE: Arduino library for PCF8574 - 8 channel I2C IO expander
77
// URL: https://github.com/RobTillaart/PCF8574
88
// http://forum.arduino.cc/index.php?topic=184800

PCF8574.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// FILE: PCF8574.h
44
// AUTHOR: Rob Tillaart
55
// DATE: 02-febr-2013
6-
// VERSION: 0.3.6
6+
// VERSION: 0.3.7
77
// PURPOSE: Arduino library for PCF8574 - 8 channel I2C IO expander
88
// URL: https://github.com/RobTillaart/PCF8574
99
// http://forum.arduino.cc/index.php?topic=184800
@@ -14,7 +14,7 @@
1414
#include "Wire.h"
1515

1616

17-
#define PCF8574_LIB_VERSION (F("0.3.6"))
17+
#define PCF8574_LIB_VERSION (F("0.3.7"))
1818

1919
#ifndef PCF8574_INITIAL_VALUE
2020
#define PCF8574_INITIAL_VALUE 0xFF

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ The library allows to read and write both single pins or 8 pins at once.
3232
Furthermore some additional functions are implemented that are playful and useful.
3333

3434

35+
#### Interrupts
36+
37+
The PCF8574 has an interrupt output line (INT) to notice a MCU that one of the input lines has changed.
38+
This can be used to prevent active polling of the PCF8574, which can be more efficient.
39+
The library does not support this internally.
40+
41+
There are two examples to show how interrupts can be used:
42+
- PCF8574_interrupt.ino
43+
- PCF8574_rotaryEncoder.ino
44+
45+
3546
## I2C Clock
3647

3748
Tested on UNO with **PCF8574_performance** showed that the PCF8574 still works at 500 KHz and failed at 600 KHz.

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"url": "https://github.com/RobTillaart/PCF8574.git"
1717
},
18-
"version": "0.3.6",
18+
"version": "0.3.7",
1919
"license": "MIT",
2020
"frameworks": "arduino",
2121
"platforms": "*",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=PCF8574
2-
version=0.3.6
2+
version=0.3.7
33
author=Rob Tillaart <rob.tillaart@gmail.com>
44
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
55
sentence=Arduino library for PCF8574 - 8 channel I2C IO expander

0 commit comments

Comments
 (0)