forked from ClusterDuck-Protocol/ClusterDuck-Protocol
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Brenton Poke <[email protected]>
- Loading branch information
1 parent
136603a
commit 0ad5a66
Showing
6 changed files
with
218 additions
and
33 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
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 was deleted.
Oops, something went wrong.
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,25 @@ | ||
#pragma once | ||
#ifdef ARDUINO_HELTEC_WIRELESS_STICK | ||
#define CDPCFG_PIN_BAT 1 | ||
//#define CDPCFG_BAT_MULDIV 200 / 100 | ||
#define CDPCFG_PIN_VEXT 36 | ||
#define CDPCFG_PIN_LED1 35 | ||
#define CDPCFG_OLED_64x32 | ||
|
||
// LoRa configuration | ||
#define CDPCFG_PIN_LORA_CS 8 | ||
#define CDPCFG_PIN_LORA_DIO0 14 | ||
#define CDPCFG_PIN_LORA_DIO1 14 | ||
#define CDPCFG_PIN_LORA_RST 12 | ||
#define CDPCFG_PIN_LORA_BUSY 13 | ||
|
||
//GPS configuration | ||
//#define CDPCFG_GPS_RX 34 | ||
//#define CDPCFG_GPS_TX 12 | ||
|
||
// OLED display settings | ||
#define CDPCFG_PIN_OLED_CLOCK 18 | ||
#define CDPCFG_PIN_OLED_DATA 17 | ||
#define CDPCFG_PIN_OLED_RESET 21 | ||
#define CDPCFG_PIN_OLED_ROTATION U8G2_R0 | ||
#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