Hello world i have board wemos D1 or i am not sure is wemos D1 R2 and i purchase from ebay https://www.ebay.co.uk/itm/OTA-WeMos-D1-CH340-WiFi-Development-Board-ESP8266-ESP-12F-For-Arduino-UNO-R3-IDE/291707002105?hash=item43eb179cf9:g:OoAAAOSwxg5X0mmM.
I instal arduino ide 169 in ubuntu 12.04 lts 32 bits and and board http://arduino.esp8266.com/stable/package_esp8266com_index.json with version esp 2 1 0
i configure the board in arduino ide Wemos D1 R2 & mini ; cpu 80 mhz ;
flas size 4M (3M SPIFFS) ; PORT /dev/ttyUSB0 ; upload speed 921600 ; Programer - AVRISP-mkII ; Upload using - serial.
i put example ESP 8266 BLINK
/*
ESP8266 Blink by Simon Peter
Blink the blue LED on the ESP-01 module
This example code is in the public domain
The blue LED on the ESP-01 module is connected to GPIO1
(which is also the TXD pin; so we cannot use Serial.print() at the same time)
Note that this sketch uses LED_BUILTIN to find the pin with the internal LED
*/
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level
// but actually the LED is on; this is because
// it is acive low on the ESP-01)
delay(1000); // Wait for a second
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED off by making the voltage HIGH
delay(2000); // Wait for two seconds (to demonstrate the active low LED)
}
AND I HAVE THIS ERROR ; HOW TO FIX THAT :
Arduino: 1.6.9 (Linux), Board: "WeMos D1 R2 & mini, 80 MHz, Serial, 921600, 4M (3M SPIFFS)"
Board d1_mini (platform esp8266, package esp8266) is unknown
Error compiling for board WeMos D1 R2 & mini.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
HOW TO FIX THIS ERROR THANKYOU