mirror of
https://github.com/xreef/PCF8574_library.git
synced 2024-08-30 18:12:18 +00:00
Fix double begin and esp32 example
This commit is contained in:
parent
084eaa39b1
commit
95b4e8fb91
@ -208,7 +208,6 @@ bool PCF8574::begin(){
|
||||
#endif
|
||||
DEBUG_PRINTLN( resetInitial, BIN);
|
||||
|
||||
_wire->beginTransmission(_address);
|
||||
_wire->write(resetInitial);
|
||||
|
||||
initialBuffer = writeModeUp | readModePullUp;
|
||||
|
@ -2,7 +2,7 @@
|
||||
* PCF8574 GPIO Port Expand
|
||||
*
|
||||
* AUTHOR: Renzo Mischianti
|
||||
* VERSION: 2.3.0
|
||||
* VERSION: 2.3.1
|
||||
*
|
||||
* https://www.mischianti.org/2019/01/02/pcf8574-i2c-digital-i-o-expander-fast-easy-usage/
|
||||
*
|
||||
|
@ -2,7 +2,7 @@
|
||||
* PCF8574 GPIO Port Expand
|
||||
*
|
||||
* AUTHOR: Renzo Mischianti
|
||||
* VERSION: 2.3.0
|
||||
* VERSION: 2.3.1
|
||||
*
|
||||
* https://www.mischianti.org/2019/01/02/pcf8574-i2c-digital-i-o-expander-fast-easy-usage/
|
||||
*
|
||||
|
@ -29,6 +29,7 @@ Tutorial:
|
||||
To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder PCF8574. Check that the PCF8574 folder contains `PCF8574\\.cpp` and `PCF8574.h`. Place the DHT library folder your `<arduinosketchfolder>/libraries/` folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.
|
||||
|
||||
## Changelog
|
||||
26/04/2022: v2.3.1 Fix example for esp32 and double begin.
|
||||
06/04/2022: v2.3.0 Fix package size
|
||||
30/12/2021: v2.2.4 Minor fix and remove deprecated declaration
|
||||
23/11/2020: v2.2.2 Add multiple implementation for encoder management (you can enable by uncomment relative define)
|
||||
|
@ -44,7 +44,7 @@ void setup()
|
||||
{
|
||||
Serial.begin(112560);
|
||||
|
||||
I2Cone.begin(16,17,400000); // SDA pin 16, SCL pin 17, 400kHz frequency
|
||||
I2Cone.begin(16,17,400000U); // SDA pin 16, SCL pin 17, 400kHz frequency
|
||||
delay(1000);
|
||||
|
||||
// Set pinMode to OUTPUT
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=PCF8574 library
|
||||
version=2.3.0
|
||||
version=2.3.1
|
||||
author=Renzo Mischianti <renzo.mischianti@gmail.com>
|
||||
maintainer=Renzo Mischianti <renzo.mischianti@gmail.com>
|
||||
sentence=PCF8574, library for Arduino, ESP8266, smt32 and esp32
|
||||
|
Loading…
Reference in New Issue
Block a user