Skip to content

Commit c0a51af

Browse files
authored
change ADC_MULTIPLIER to better reflect battery voltage
1 parent 1520f4d commit c0a51af

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

variants/thinknode_m2/variant.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
#define I2C_SCL 15
22
#define I2C_SDA 16
3-
#define PIN_VBAT_READ 17
3+
#define PIN_VBAT_READ 17
44
#define AREF_VOLTAGE (3.0)
5-
#define ADC_MULTIPLIER (1.548F)
5+
#define ADC_MULTIPLIER (1.509F)
66
#define PIN_BUZZER 5
77
#define PIN_VEXT_EN_ACTIVE HIGH
88
#define PIN_VEXT_EN 46
99
#define PIN_USER_BTN 47
1010
#define PIN_LED 6
1111
#define PIN_STATUS_LED 6
1212
#define PIN_PWRBTN 4
13-
14-
15-

0 commit comments

Comments
 (0)