Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A hello world (blinking LED) for Micropython on the Wemos D1 Mini (ESP8266)
@Vitalicus

This comment has been minimized.

Copy link

@Vitalicus Vitalicus commented Jan 4, 2020

Why pin is 2 ? On C++ is D4

@ShakataGaNai

This comment has been minimized.

Copy link
Owner Author

@ShakataGaNai ShakataGaNai commented Jan 4, 2020

Correct, one in the same. In micropython its based on the GPIO number, rather than A/D labels, very confusing, I know. Look at https://randomnerdtutorials.com/esp8266-pinout-reference-gpios/ who's got a good list of the different pinout's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment