variants: ProMicro: Use DC/DC regulator
The schematic shows the LC circuit for the internal DC/DC regulator to be available. Enable it to save power. Signed-off-by: Frieder Schrempf <frieder@fris.de>
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
#define PIN_VBAT_READ 17
|
#define PIN_VBAT_READ 17
|
||||||
#define ADC_MULTIPLIER (1.815f) // dependent on voltage divider resistors. TODO: more accurate battery tracking
|
#define ADC_MULTIPLIER (1.815f) // dependent on voltage divider resistors. TODO: more accurate battery tracking
|
||||||
|
|
||||||
class PromicroBoard : public NRF52BoardOTA {
|
class PromicroBoard : public NRF52BoardDCDC, public NRF52BoardOTA {
|
||||||
protected:
|
protected:
|
||||||
uint8_t btn_prev_state;
|
uint8_t btn_prev_state;
|
||||||
float adc_mult = ADC_MULTIPLIER;
|
float adc_mult = ADC_MULTIPLIER;
|
||||||
|
|||||||
Reference in New Issue
Block a user