all the answers were about that the default blue led pin maybe 0,1,2 depending on the board
to get out of this i used the following code
`int LED0 = 0;
int LED1 = 1;
int LED2 = 2;
void setup() {
pinMode(LED0, OUTPUT); // Initialize the LED_BUILTIN pin as an output
pinMode(LED1, OUTPUT);
pinMode(LED2, OUTPUT);
Serial.print("LED_BUILTIN = ");
Serial.print(LED_BUILTIN, DEC);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED0, LOW); // Turn the LED on (Note that LOW is the voltage level
digitalWrite(LED1, LOW); // but actually the LED is on; this is because
digitalWrite(LED2, LOW); // it is active low on the ESP-01)
delay(1000); // Wait for a second
digitalWrite(LED0, HIGH); // Turn the LED off by making the voltage HIGH
digitalWrite(LED1, HIGH);
digitalWrite(LED2, HIGH);
delay(2000); // Wait for two seconds (to demonstrate the active low LED)
}`
the code is uploaded normally to the esp8266 since the led is blinking while uploading the code
but after that nothing happens
same goes for other codes like network scanning the code is uploaded successfully but i get nothing