Skip to content

Instantly share code, notes, and snippets.

@dviererbe
Last active June 20, 2020 20:51
Show Gist options
  • Save dviererbe/4efb9407172d82362ac56249acca84d4 to your computer and use it in GitHub Desktop.
Save dviererbe/4efb9407172d82362ac56249acca84d4 to your computer and use it in GitHub Desktop.
NodeMCU pin mapping. The pin labels written on the board do NOT correspond to the GPIO numbers of the board.
#ifndef PINOUT_NodeMCU_h
#define PINOUT_NodeMCU_h
#define SDA 4
#define SCL 5
#define D0 6
#define D1 5
#define D2 4
#define D3 0
#define D4 2
#define D5 14
#define D6 12
#define D7 13
#define D8 15
#define RX 3
#define TX 1
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment