forked from zivillian/esp32-modbus-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
399567f
commit 6ca2812
Showing
5 changed files
with
62 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#ifndef PINS_D1MINI_H | ||
#define PINS_D1MINI_H | ||
|
||
#include <stdint.h> | ||
|
||
// Legacy Pins mappings for compatibility with D1 mini | ||
// D0..D8 | ||
#ifndef D0 | ||
#define D0 26 | ||
#endif | ||
|
||
#ifndef D1 | ||
#define D1 22 | ||
#endif | ||
|
||
#ifndef D2 | ||
#define D2 21 | ||
#endif | ||
|
||
#ifndef D3 | ||
#define D3 17 | ||
#endif | ||
|
||
#ifndef D4 | ||
#define D4 16 | ||
#endif | ||
|
||
#ifndef D5 | ||
#define D5 18 | ||
#endif | ||
|
||
#ifndef D6 | ||
#define D6 19 | ||
#endif | ||
|
||
#ifndef D7 | ||
#define D7 23 | ||
#endif | ||
|
||
#ifndef D8 | ||
#define D8 15 | ||
#endif | ||
|
||
#ifndef LED_BUILTIN | ||
#define LED_BUILTIN 2 | ||
#endif | ||
|
||
#endif /* PINS_D1MINI_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters