did you see http://cyaninfinite.com/tutorials/getting-started-with-the-wemos-d1-esp8266-wifi-board/ ?
.