Firstly, install Visual Code and a plug-in for Wemos or Lolin. Please See Youtube to install IDEs. Compile the code created with the Build button at the bottom (or ...
int ledPin = 2; // Arduino standard is GPIO13 but lolin nodeMCU is 2 http://www.esp8266.com/viewtopic.php?f=26&t=13410#p61332 ...