I would like to ask about my problem.
I have used the GPIO12 as output and driving a mosfet using the pin.
The problem is GPIO12 is logic high for 500 ms on boot. It creates a pulse on boot every time.
I have tried to add code on Setup() section to set it to low on boot but it still behaves the same.
pinMode(12, OUTPUT);
digitalWrite(12, 0);
I think the problem is in SDK level, so it takes about 500 ms to reach in Setup() in Arduino sketch.
What can I do to figure it out?
My config:
QIO, 40Mhz, 160Mhz, 1MB Flash
Thanks in advance.