Hello, I am ready with programming this board in IDE 2.8.x ... but how to program built in Led correctly . I start with this my sketch test for built in Led diode :
//Wemos-Wroom-02-CP2102-Led-builtin-en-1
void setup()
{
// Start of serial communication
Serial.begin(9600);
delay(1000);
// Initialize the LED_BUILTIN pin as an output
pinMode(LED_BUILTIN, OUTPUT);
Serial.println(" ");
Serial.println("Wemos-Wroom-02-CP2102-Led-builtin-en-1");
Serial.println("Built in Led : 2");
Serial.println("Test of Wemos Wroom-02 module with USB CP2102 and battery 18650");
Serial.println("Used board : LOLIN(WEMOS) D1 ESP-WROOM-02");
Serial.println("Upload speed : 115200");
Serial.println("Arduino IDE : 2.8.10");
delay(2000);
}
// the loop function runs over and over again forever
void loop()
{
// Turn the LED on (Note that LOW is the voltage level
digitalWrite(LED_BUILTIN, LOW);
// Wait for a second
Serial.println("Led is On");
delay(1000);
// Turn the LED off by making the voltage HIGH
digitalWrite(LED_BUILTIN, HIGH);
// Wait for two seconds (to demonstrate the active low LED)
Serial.println("Led is Off");
delay(2000);
}