Browse Source
change ADC_MULTIPLIER to better reflect battery voltage
pull/1071/head
Tomas P
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
5 deletions
-
variants/thinknode_m2/variant.h
|
|
|
@ -1,8 +1,8 @@ |
|
|
|
#define I2C_SCL 15 |
|
|
|
#define I2C_SDA 16 |
|
|
|
#define PIN_VBAT_READ 17 |
|
|
|
#define PIN_VBAT_READ 17 |
|
|
|
#define AREF_VOLTAGE (3.0) |
|
|
|
#define ADC_MULTIPLIER (1.548F) |
|
|
|
#define ADC_MULTIPLIER (1.509F) |
|
|
|
#define PIN_BUZZER 5 |
|
|
|
#define PIN_VEXT_EN_ACTIVE HIGH |
|
|
|
#define PIN_VEXT_EN 46 |
|
|
|
@ -10,6 +10,3 @@ |
|
|
|
#define PIN_LED 6 |
|
|
|
#define PIN_STATUS_LED 6 |
|
|
|
#define PIN_PWRBTN 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|