12-bit ADC resolution for STM32 (#20519)

This commit is contained in:
LinFor authored and Scott Lahteine committed 2021-04-29 08:45:09 -05:00
1 parent 231e5a5eed
commit 076f12e82d
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