Skip to content

Commit

Permalink
Correction for wrong battery display on tlora_v2_1_16 board (#1120)
Browse files Browse the repository at this point in the history
* Update variant.h
  • Loading branch information
costonisp committed Jan 21, 2022
1 parent 5e590a4 commit 2230cbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion variants/tlora_v2_1_16/variant.h
Expand Up @@ -4,6 +4,8 @@
#define GPS_TX_PIN 13

#define BATTERY_PIN 35 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
// ratio of voltage divider = 2.0 (R42=100k, R43=100k)
#define ADC_MULTIPLIER 2.2 // 2.0 + 10% for correction of display undervoltage.

#define I2C_SDA 21 // I2C pins for this board
#define I2C_SCL 22
Expand All @@ -20,4 +22,4 @@
#define LORA_DIO0 26 // a No connect on the SX1262 module
#define LORA_RESET 14
#define LORA_DIO1 35 // Not really used
#define LORA_DIO2 34 // Not really used
#define LORA_DIO2 34 // Not really used

0 comments on commit 2230cbb

Please sign in to comment.