Moderator: igrr
viewtopic.php?f=11&t=4458
Barnabybear wrote:Hi, about 325mS, so for some reason your setup is taking a long time. Have a look at this post - most of the bits you need are on the first two pages.
viewtopic.php?f=11&t=4458
If it's 500ms max to get to setup() then that would be fine. So something is wrong, but I am not sure what. Toggling GPIO#13 is the first step in my program:
const int TOGGLE_CH_PD = 13;
void setup() {
pinMode(TOGGLE_CH_PD, OUTPUT);
digitalWrite(TOGGLE_CH_PD, HIGH);
...
I am using these libraries:
#include <NTPClient.h>
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include <ESP8266mDNS.h>
#include <DNSServer.h>
#include <WiFiClient.h>
#include <EEPROM.h>
#include <ESP8266WebServer.h>
#include <TimeLib.h>
#include <ArduinoOTA.h>
#include <FS.h>
I am basically following this example (circuit), but with an ESP-12F module. I also see other people mention in the comments that it takes 6 seconds of holding the button.
https://www.hackster.io/noelportugal/if ... ton-e11841
rudy wrote:Are you certain your reset pin is high? I think there is something else going on. It should get to setup fairly quickly.I connected reset to VCC with a 1K resistor.