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

Moderator: igrr

User avatar
By jifopy
#34085 Hey guys, I recently finished an arduino nodemcu project but while building it I couldn't find a definitive list of all the pins, what they do and how to call them from arduino.

I basically used D1-D9 and that was all but for the next project I have in mind I need more ports.

I expect I will need to expand using i2c port expanded and i'm using i2c on D2+D3 for the lcd but only by luck rather than judgement so it would be great to actually know what I'm doing next time round.
User avatar
By Mmiscool
#34086 The pins highlighted in orange are the aduino equivalent pins.
You do not have the required permissions to view the files attached to this post.
User avatar
By sej7278
#34104 so what do gpio 16,9,10 map to?

i get that the nodemcu is heavily biased towards lua instead of arduino, but surely the mapping is documented somewhere?

all i can find are these references and they're outdated and not very helpful for arduino anyway:

https://github.com/esp8266/Arduino/blob ... odemcu-09-

https://github.com/esp8266/Arduino/blob ... digital-io

https://github.com/nodemcu/nodemcu-devkit-v1.0#pin-map
Last edited by sej7278 on Sun Nov 15, 2015 3:33 pm, edited 1 time in total.