mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
11 lines
552 B
Plaintext
11 lines
552 B
Plaintext
|
notes on PCF8574
|
||
|
|
||
|
2015-11-29 - 0.1.04
|
||
|
======================
|
||
|
On some platforms (reported on an ESP8266) the PCF8574 constructor is causing problems e.g. continuous reboots. This is caused by the call to Wire.begin() in the constructor of the PCF8574 object. It might be called before the Wire object is created, especially when both are global objects the order of instantiating might differ.
|
||
|
|
||
|
Solution is moving the call to Wire.begin() from the constructor to void setup() before any call to an PCF8574 object.
|
||
|
|
||
|
This might be fixed in the future.
|
||
|
|