Browse Source

change ADC_MULTIPLIER to better reflect battery voltage

pull/1071/head
Tomas P 7 months ago
committed by GitHub
parent
commit
c0a51aff66
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      variants/thinknode_m2/variant.h

7
variants/thinknode_m2/variant.h

@ -1,8 +1,8 @@
#define I2C_SCL 15 #define I2C_SCL 15
#define I2C_SDA 16 #define I2C_SDA 16
#define PIN_VBAT_READ 17 #define PIN_VBAT_READ 17
#define AREF_VOLTAGE (3.0) #define AREF_VOLTAGE (3.0)
#define ADC_MULTIPLIER (1.548F) #define ADC_MULTIPLIER (1.509F)
#define PIN_BUZZER 5 #define PIN_BUZZER 5
#define PIN_VEXT_EN_ACTIVE HIGH #define PIN_VEXT_EN_ACTIVE HIGH
#define PIN_VEXT_EN 46 #define PIN_VEXT_EN 46
@ -10,6 +10,3 @@
#define PIN_LED 6 #define PIN_LED 6
#define PIN_STATUS_LED 6 #define PIN_STATUS_LED 6
#define PIN_PWRBTN 4 #define PIN_PWRBTN 4

Loading…
Cancel
Save