Re: Error running sketches on WeMos D1 R1
Posted: Mon Feb 17, 2020 4:44 am
if you get readable response from bootloader @ 115200, try the 40MHz "Crystal Frequency" setting in the Arduino IDE.
Unfortunately they crippled the Wemos D1 R1 board settings, so you have to select "Generic ESP8266 Module" board to get the Crystal Frequency setting.
OR (if you feel confident) add following lines to the d1 r1 section of your boards.txt
Unfortunately they crippled the Wemos D1 R1 board settings, so you have to select "Generic ESP8266 Module" board to get the Crystal Frequency setting.
OR (if you feel confident) add following lines to the d1 r1 section of your boards.txt
Code: Select all
d1.menu.CrystalFreq.26=26 MHz
d1.menu.CrystalFreq.40=40 MHz
d1.menu.CrystalFreq.40.build.extra_flags=-DF_CRYSTAL=40000000 -DESP8266