12-bit ADC resolution for STM32 (#20519)

This commit is contained in:
LinFor authored and GitHub committed 2020-12-21 18:30:03 -06:00
1 parent ba1176108a
commit 36aff1e464
3 files changed
+7 -3

No files matched your search

@@ -114,6 +114,8 @@ extern "C" {
#define NUM_ANALOG_INPUTS 7
#define NUM_ANALOG_FIRST 80
#define ADC_RESOLUTION 12
// PWM resolution
// #define PWM_RESOLUTION 12
#define PWM_FREQUENCY 20000 // >= 20 Khz => inaudible noise for fans