 
         http.end();
     }
-    digitalWrite(D1, LOW);  // Turn the LED off 
+    digitalWrite(LED_BUILTIN, LOW);  // Turn the LED off 
 
     delay(1000);
 }

    // wait for WiFi connection
    if((MyWiFi.run() == WL_CONNECTED)) {

        digitalWrite(D1, HIGH);   // Turn the LED on 

        HTTPClient http;


ESP8266WiFiMulti MyWiFi;

void setup() {
    pinMode(LED_BUILTIN, OUTPUT);     // Initialize the LED_BUILTIN pin as an output

    Serial.begin(115200);

