mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 14:42:05 +00:00
Trunk
This commit is contained in:
parent
c0c2ec195f
commit
7849a3d291
@ -70,13 +70,12 @@ const uint32_t g_ADigitalPinMap[] = {
|
|||||||
22, // D23 P0.22 (QSPI_SIO_2 WP)
|
22, // D23 P0.22 (QSPI_SIO_2 WP)
|
||||||
23, // D24 P0.23 (QSPI_SIO_3 HOLD)
|
23, // D24 P0.23 (QSPI_SIO_3 HOLD)
|
||||||
|
|
||||||
|
|
||||||
36, // D25 TB_UP
|
36, // D25 TB_UP
|
||||||
12, // D26 TB_DOWN
|
12, // D26 TB_DOWN
|
||||||
11, // D27 TB_LEFT
|
11, // D27 TB_LEFT
|
||||||
35, // D28 TB_RIGHT
|
35, // D28 TB_RIGHT
|
||||||
37, // D29 TB_PRESS
|
37, // D29 TB_PRESS
|
||||||
4, // D30 BAT_CTL
|
4, // D30 BAT_CTL
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -107,10 +107,9 @@ static const uint8_t SCL = PIN_WIRE_SCL;
|
|||||||
// Power Management
|
// Power Management
|
||||||
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
|
||||||
#define BAT_READ \
|
#define BAT_READ 30 // D30 = P0.04 Reads battery voltage from divider on signal board.
|
||||||
30 // D30 = P0.04 Reads battery voltage from divider on signal board.
|
|
||||||
#define BATTERY_SENSE_RESOLUTION_BITS 12
|
#define BATTERY_SENSE_RESOLUTION_BITS 12
|
||||||
#define ADC_MULTIPLIER 2.0
|
#define ADC_MULTIPLIER 2.0
|
||||||
#define BATTERY_PIN PIN_VBAT // PIN_A7
|
#define BATTERY_PIN PIN_VBAT // PIN_A7
|
||||||
#define AREF_VOLTAGE 3.6
|
#define AREF_VOLTAGE 3.6
|
||||||
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
// ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
|
Loading…
Reference in New Issue
Block a user