I have using your guide to control outputs with Esp8266 esp12e and everytings works. But the blue diode on the board is on to I set gpio d4 to high, then the diode turns off. Is their a way to turn this diode off when only d1 and d2 is in use?
The on-board LED is connected to GPIO 2 (D4). So, when you use GPIO 2 to connect something, you are also controlling that LED. That LED turns on when you set GPIO 2 to off and it turns off when you set it to on.
I don’t think you can change that behavior.
I hope I answered your question.