Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By DrG
#38961 I don't have one of these boards but I was looking into them yesterday. I don't think what you are seeing represents a problem with the board functioning or ArduinoIDE 1.67. There are three types of WEMOS boards now, the D1 (which has been discontinued) the D1 R2 and the mini http://www.wemos.cc/wiki/doku.php?id=en:start .

I suspect you have the D1 (R1- the original) and you can see from the schematic http://www.wemos.cc/wiki/lib/exe/fetch. ... =en:d1.pdf which of the IO lines have 10K pull up resistors (GPIO0,GPIO2) or pull down (GPIO15). The information is also in the pin definition table http://www.wemos.cc/wiki/doku.php?id=en:d1#schematics. For the D1 R2, there is an analogous table http://www.wemos.cc/wiki/doku.php?id=en ... schematics although I don't see the schematic for that board.

As has been mentioned, those pins will act differently than straight through I/O and is likely why you see the behavior you report with the "blink" routine.

I hope those URLs are helpful.
User avatar
By Ttam
#42270 Sorry its a bit late and I am sure you haven't been a stupid as I have just been for the last two hours but...
When you used blink on your D1 what pin number did you use for the output pin?
I tried Pin D7 to start with, and I got the wdt reset, and found your post.
I then tried Pin D2 and the ESP8266 flashed, but my LED stayed off.

Then I remembered just because the pin is marked D2 doesn't mean it is D2, so I switched my code to use 16 and everything started working.
You do not have the required permissions to view the files attached to this post.
User avatar
By Aresby
#42466 I haven't tried the code on this board for some time (too busy creating videos for my YouTube channel) but I had suspected this might be the problem - pin number assignments.

I hope to be able to check out all the suggestions on this forum this weekend and I'll certainly post back here with my results. Considering I've been able to use the board 100% successfully to create a simple HTTP server and connect to a NTP service I'm guessing it really is going to be something as simple as you have suggested (fingers crossed). I'm printing out your post for future reference too!

Must dash, I have a new Arduino video lined up ready for editing 8-)