4242#include < PolledTimeout.h>
4343#include < include/WiFiState.h> // WiFiState structure details
4444
45- // #define DEBUG // prints WiFi connection info to serial, uncomment if you want WiFi messages
45+ // #define DEBUG // prints WiFi connection info to serial, uncomment if you want WiFi messages
4646#ifdef DEBUG
4747#define DEBUG_PRINTLN (x ) Serial.println(x)
4848#define DEBUG_PRINT (x ) Serial.print(x)
5656
5757// uncomment one of the two lines below for your LED connection (optional)
5858#define LED 5 // D1/GPIO5 external LED for modules with built-in LEDs so it doesn't add amperage
59- // #define LED 2 // D4/GPIO2 LED for ESP-01,07 modules; D4 is LED_BUILTIN on most other modules
60- // you can use LED_BUILTIN, but it adds to the measured amperage by 0.3mA to 6mA.
59+ // #define LED 2 // D4/GPIO2 LED for ESP-01,07 modules; D4 is LED_BUILTIN on most other modules
60+ // you can use LED_BUILTIN, but it adds to the measured amperage by 0.3mA to 6mA.
6161
6262ADC_MODE (ADC_VCC); // allows you to monitor the internal VCC level; it varies with WiFi load
6363// don't connect anything to the analog input pin(s)!
@@ -72,7 +72,7 @@ IPAddress dns1(0, 0, 0, 0);
7272IPAddress dns2 (0 , 0 , 0 , 0 );
7373uint32_t timeout = 30E3 ; // 30 second timeout on the WiFi connection
7474
75- // #define TESTPOINT // used to track the timing of several test cycles (optional)
75+ // #define TESTPOINT // used to track the timing of several test cycles (optional)
7676#ifdef TESTPOINT
7777#define testPointPin 4 // D2/GPIO4, you can use any pin that supports interrupts
7878#define testPoint_HIGH digitalWrite (testPointPin, HIGH)
0 commit comments