Add support for current/voltage measurement on Ghoul. (#19630)
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
#define RGB_ENABLE_PIN GP6
|
||||
|
||||
// ADC Configuration
|
||||
#define ADC_RESOLUTION ? ? ? // ADC_CFGR1_RES_12BIT // TBD when RP2040 has analog support
|
||||
#define ADC_SATURATION ? ? ? // ((1 << 12) - 1) // TBD when RP2040 has analog support
|
||||
#define ADC_RESOLUTION 12
|
||||
#define ADC_SATURATION ((1 << 12) - 1)
|
||||
#define ADC_CURRENT_PIN GP26
|
||||
#define ADC_VOLTAGE_PIN GP27
|
||||
|
||||
|
Reference in New Issue
Block a user