I recently bought a Chinese clone of the Lolin Wemos D1 Mini Pro ESP8266 device from the FEIYANG store at AliExpress. As I had problems running Wifi when setting the original
Lolin Wemos D1 Mini Pro in the board manager, I resorted to
The downside is that the
General ESP8266 board definition offers fewer pin defines. While constants like
LED_BUILTIN work out of the box, using the common constant
D4 for that very same pin fails with the compiler complaining that an undefined constant has been used.
Therefore we have to define the pins ourselves in the code. Here’s a table that I found on the Chris Chewett’s blog.
|Wemos Labels||Arduino IDE||Remarks|
|D1||5||Usually driving pin for relay shield.|
Note that onboard LED will light up when pin is