How to use ESP8266-12E with PCF8574 as an I/O extender I am using ESP8266-12E with a PCF8574 as an I/O Pins Extender.
There are videos on youtube to use the PCF8574 with an ESP8266-01, but my problem is that I'm unable to analyze the pin connections with an ESP8266-12E. 
In the youtube tutorial it is said that the GPIO0 AND GPIO2 will go to the SDA and SLC pins of the PCF8574, but then, in the case of ESP8266-12E, the pins will go to the PCF8547.

Thanks in advance.
Found the answer .
The data sheet of ESP8266-12E explains everything. 
The pin diagram has the given tags which shows which pins we can use.