added notes.txt (pcf8574)

This commit is contained in:
rob tillaart 2015-11-29 11:50:23 +01:00
parent c35b7dd8d7
commit 1f3495a4b2

View File

@ -0,0 +1,10 @@
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.