File tree Expand file tree Collapse file tree 6 files changed +19
-5
lines changed
Expand file tree Collapse file tree 6 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66and 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change @@ -32,6 +32,17 @@ The library allows to read and write both single pins or 8 pins at once.
3232Furthermore 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
3748Tested on UNO with ** PCF8574_performance** showed that the PCF8574 still works at 500 KHz and failed at 600 KHz.
Original file line number Diff line number Diff line change 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" : " *" ,
Original file line number Diff line number Diff line change 11name =PCF8574
2- version =0.3.6
2+ version =0.3.7
33author =Rob Tillaart <rob.tillaart@gmail.com>
44maintainer =Rob Tillaart <rob.tillaart@gmail.com>
55sentence =Arduino library for PCF8574 - 8 channel I2C IO expander
You can’t perform that action at this time.
0 commit comments