kopia lustrzana https://github.com/bristol-seds/pico-tracker
[thermistor] More 4ae5371
rodzic
4ae5371040
commit
fdb1760c6e
|
@ -144,8 +144,8 @@
|
|||
#define BATTERY_ADC_PIN PIN_PA02
|
||||
#define BATTERY_ADC_PINMUX PINMUX_PA02B_ADC_AIN0
|
||||
#define BATTERY_ADC_CHANNEL ADC_POSITIVE_INPUT_PIN0
|
||||
#define BATTERY_ADC_CHANNEL_DIV 1
|
||||
/*0.3125*/
|
||||
#define BATTERY_ADC_CHANNEL_DIV 1 /*0.3125*/
|
||||
#define BATTERY_ADC_REFERENCE ADC_REFERENCE_INT1V
|
||||
|
||||
/**
|
||||
* External Thermistor ADC
|
||||
|
@ -154,7 +154,8 @@
|
|||
#define THERMISTOR_ADC_PIN PIN_PA03
|
||||
#define THERMISTOR_ADC_PINMUX PINMUX_PA03
|
||||
#define THERMISTOR_ADC_CHANNEL ADC_POSITIVE_INPUT_PIN1
|
||||
#define THERMISTOR_ADC_CHANNEL_DIV 1
|
||||
#define THERMISTOR_ADC_CHANNEL_DIV 1.48
|
||||
#define THERMISTOR_ADC_REFERENCE ADC_REFERENCE_INTVCC0 /* internal 1/1.48 VCC reference */
|
||||
|
||||
/**
|
||||
* Solar ADC
|
||||
|
@ -169,6 +170,7 @@
|
|||
#define SOLAR_ADC_PINMUX PINMUX_PA04B_ADC_AIN4
|
||||
#define SOLAR_ADC_CHANNEL ADC_POSITIVE_INPUT_PIN4
|
||||
#define SOLAR_ADC_CHANNEL_DIV 1
|
||||
#define SOLAR_ADC_REFERENCE ADC_REFERENCE_INT1V
|
||||
|
||||
/**
|
||||
* Radio
|
||||
|
|
Ładowanie…
Reference in New Issue