[SOLVED] Wemos D1 not working with basic example

Very, very, very occasionally when you select a device it appears not to recognise it. You can remove the device, refresh the token etc or switch to ESP8266 etc.

That takes me back to a booze cruise to Ostend.

Just for your information. As I understand them… The device choices in the App determine:

  • How the App maps device layout to our visual reference. Things like Digital and Analog Pins with designations (A, D, or GPIO) and numbering; If only using Virtual Pins, then you could probably use any device choice for any project…

  • And limits the “available” number of Vpins, probably due to “processing power” of a device… but that can be adjusted with a single define in the sketch - #define BLYNK_USE_128_VPINS

You have to use Blynk Widget Digital D9 to control the onboard LED. Must be a mapping problem in the Blynk or Wemos drivers. Here’s what I’ve discerned by trial-and-error on my Wemos D1 mini:

Wemos pin    Blynk Widget Button   ESP8266 pin
----------   -------------------   ------------
    D0                 D2               16
    D1                 D3                5
    D2                 D4                4
    D3                 D8                0
    D4                 D9                2 (Built-in LED)
    D5                 D5               14
    D6                 D6               12
    D7                 D7               13
    D8                 D10              15