Skip to content

Commit

Permalink
Make specifying VEXT_ON_VALUE manatory if using VEXT_ENABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksville committed Aug 22, 2024
1 parent 5c5cbb2 commit e6163a5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions variants/heltec_wireless_paper/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

// Power
#define VEXT_ENABLE 45 // Active low, powers the E-Ink display
#define VEXT_ON_VALUE LOW
#define ADC_CTRL 19
#define BATTERY_PIN 20
#define ADC_CHANNEL ADC2_GPIO20_CHANNEL
Expand Down
1 change: 1 addition & 0 deletions variants/heltec_wireless_paper_v1/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

// Power
#define VEXT_ENABLE 45 // Active low, powers the E-Ink display
#define VEXT_ON_VALUE LOW
#define ADC_CTRL 19
#define BATTERY_PIN 20
#define ADC_CHANNEL ADC2_GPIO20_CHANNEL
Expand Down
3 changes: 2 additions & 1 deletion variants/heltec_wsl_v3/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#define LED_PIN LED

#define VEXT_ENABLE Vext // active low, powers the oled display and the lora antenna boost
#define VEXT_ON_VALUE LOW
#define BUTTON_PIN 0

#define ADC_CTRL 37
Expand Down Expand Up @@ -32,4 +33,4 @@
#define SX126X_RESET LORA_RESET

#define SX126X_DIO2_AS_RF_SWITCH
#define SX126X_DIO3_TCXO_VOLTAGE 1.8
#define SX126X_DIO3_TCXO_VOLTAGE 1.8
5 changes: 3 additions & 2 deletions variants/tlora_v1/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
#define RESET_OLED 16 // If defined, this pin will be used to reset the display controller

#define VEXT_ENABLE 21 // active low, powers the oled display and the lora antenna boost
#define LED_PIN 2 // If defined we will blink this LED
#define BUTTON_PIN 0 // If defined, this will be used for user button presses
#define VEXT_ON_VALUE LOW
#define LED_PIN 2 // If defined we will blink this LED
#define BUTTON_PIN 0 // If defined, this will be used for user button presses
#define BUTTON_NEED_PULLUP
#define EXT_NOTIFY_OUT 13 // Default pin to use for Ext Notify Module.

Expand Down

0 comments on commit e6163a5

Please sign in to comment.