Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where are the Wemos output pins defined? #14

Closed
dougstrickland opened this issue Mar 7, 2017 · 3 comments
Closed

Where are the Wemos output pins defined? #14

dougstrickland opened this issue Mar 7, 2017 · 3 comments

Comments

@dougstrickland
Copy link

I see the port numbers in the wemos.ino file, but I don't see where the specific GPIO pins are defined. Where do I find the D1..outputs defined?

@kakopappa
Copy link
Owner

@kakopappa
Copy link
Owner

Here is the pin layout
http://community.blynk.cc/uploads/default/original/2X/4/4f9e2245bf4f6698e10530b9060595c893bf49a2.png

in Arduino IDE, If you select Tools ->Board-> Generic, D1 is not available, You have to copy it from https://github.com/esp8266/Arduino/blob/master/variants/d1_mini/pins_arduino.h#L49-L61

If you select WeMos D1 it should work fine.

@dougstrickland
Copy link
Author

You are so helpful. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants