Skip to content

Commit

Permalink
Add GPS pin definitions missed in revamp (#2834)
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-bennett authored Sep 26, 2023
1 parent e96ba7c commit 04b2ab8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions variants/nano-g1-explorer/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
#define I2C_SCL 22

#define BUTTON_PIN 36 // The user button (information button) GPIO on the Nano G1 explorer
//#define BUTTON_PIN_ALT 13 // Alternate GPIO for an external button if needed. Does anyone use this? It is not documented
// anywhere.
// #define BUTTON_PIN_ALT 13 // Alternate GPIO for an external button if needed. Does anyone use this? It is not documented
// anywhere.
#define EXT_NOTIFY_OUT 13 // Default pin to use for Ext Notify Module.

// common pinout for their SX1262 vs RF95 modules - both can be enabled and we will probe at runtime for RF95 and if
// not found then probe for SX1262
#define USE_RF95
#define USE_SX1262

#define GPS_RX_PIN 34
#define GPS_TX_PIN 12

#define LORA_DIO0 26 // a No connect on the SX1262 module
#define LORA_RESET 23
#define LORA_DIO1 33 // SX1262 IRQ
Expand Down
9 changes: 6 additions & 3 deletions variants/nano-g1/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
#define I2C_SCL 22

#define BUTTON_PIN 36 // The middle button GPIO on the Nano G1
//#define BUTTON_PIN_ALT 13 // Alternate GPIO for an external button if needed. Does anyone use this? It is not documented
// anywhere.
// #define BUTTON_PIN_ALT 13 // Alternate GPIO for an external button if needed. Does anyone use this? It is not documented
// anywhere.
#define EXT_NOTIFY_OUT 13 // Default pin to use for Ext Notify Module.

// common pinout for their SX1262 vs RF95 modules - both can be enabled and we will probe at runtime for RF95 and if
// not found then probe for SX1262
#define USE_RF95
#define USE_SX1262

#define GPS_RX_PIN 34
#define GPS_TX_PIN 12

#define LORA_DIO0 26 // a No connect on the SX1262 module
#define LORA_RESET 23
#define LORA_DIO1 33 // SX1262 IRQ
Expand All @@ -30,4 +33,4 @@
#endif

// different screen
#define USE_SH1106
#define USE_SH1106

0 comments on commit 04b2ab8

Please sign in to comment.