Hi, doing a project, Nodemcu 1.0 board, project works.
Trying to find the pins definition file, so browsing web, many attempts,
finally found every pins_arduino.h file on a 2 TB drive the hard way. But
no way in any filename its associated with Nodemcu.
Is there a example utility that will list to screen the contents of that file for any project ? The mapping of a pin to its symbolic name to its
module pin to its ......web is full of incomplete info.
Regards, Dana.
No idea what you want. Most boards have the pin numbers printed on the board.
Take a look at pins_arduino.h in the following folder
C:\Users\username\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2\variants\nodemcu
Replace username in the path with your Windows username
I don't see what the issue is: googled esp8266 arduino core, got the Github page and then just drilled down to the NodeMCU variant's pins_arduino.h file at https://github.com/esp8266/Arduino/blob/master/variants/nodemcu/pins_arduino.h
And on my local drive it's at ~/.arduino15/packages/esp8266/hardware/esp8266/3.1.2/variants/nodemcu/pins_arduino.h Your copy will be wherever your O/S keeps the arduino15 directory.
1 Like
Thx so much, issue solved.
Esp8266 modules, Node MCU type, are a piggyback module on top of a module.
The topmost module pin numbering not the same as the main module. And I have
never seen the piggyback, if its labeled, showing on it. Must be under its metal cover.
Further I have main modules both with labeling, and without.
Cap that with the symbolic names have a pinout equivalent when compiled
into actual code. So when debugging one needs to know that.
So we have two modules, each with their own pinout, and symbols with a numeric value when code generated.
Regards, Dana.