-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
7371b8e
commit b8eedab
Showing
2 changed files
with
32 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef BOARD_PINOUT_H_ | ||
#define BOARD_PINOUT_H_ | ||
|
||
// LoRa Radio | ||
#define HAS_SX1278 | ||
#define RADIO_SCLK_PIN 15 | ||
#define RADIO_MISO_PIN 13 | ||
#define RADIO_MOSI_PIN 12 | ||
#define RADIO_CS_PIN 14 | ||
#define RADIO_RST_PIN 2 | ||
#define RADIO_BUSY_PIN 25 | ||
|
||
// Display | ||
#define HAS_DISPLAY | ||
|
||
#undef OLED_SDA | ||
#undef OLED_SCL | ||
#undef OLED_RST | ||
|
||
#define OLED_SDA 5 | ||
#define OLED_SCL 4 | ||
#define OLED_RST -1 | ||
|
||
#endif |
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,8 @@ | ||
[env:WEMOS-LOLIN32-OLED-DIY] | ||
board = lolin32 | ||
build_flags = | ||
${common.build_flags} | ||
-D WEMOS_LOLIN32_OLED_DIY_LoRa | ||
lib_deps = | ||
${common.lib_deps} | ||
${common.display_libs} |