HI there is any chance I can configure ESP32 to have GPIO_04 to be low during boot? It takes 5 msec to get into my Setup:
pinMode(4, OUTPUT);
digitalWrite(4, 0);
And causes a blink in my aplication.
Thanks
Configure GPIO 4 low during Boot
-
- Posts: 827
- Joined: Mon Jul 22, 2019 3:20 pm
Re: Configure GPIO 4 low during Boot
You can attach a pull down resistor between the pin and ground to have it go low while your pin is floating during boot. 10K-50K Ohm will work depending on your application.
https://en.wikipedia.org/wiki/Pull-up_resistor
https://en.wikipedia.org/wiki/Pull-up_resistor
Re: Configure GPIO 4 low during Boot
It has internal pulldown by default.
Try
digitalWrite(4, 0);
pinMode(4, OUTPUT);
Try
digitalWrite(4, 0);
pinMode(4, OUTPUT);
-
- Posts: 45
- Joined: Thu Aug 22, 2019 3:48 am
Re: Configure GPIO 4 low during Boot
@boarchuz - that code would only get executed AFTER the boot sequence.
The OP was asking about how to keep the pin low DURING boot.
Susan
The OP was asking about how to keep the pin low DURING boot.
Susan
Who is online
Users browsing this forum: No registered users and 89 guests