We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc7e35 commit 0215d7eCopy full SHA for 0215d7e
2 files changed
default_tune.cpp
@@ -1,5 +1,5 @@
1
#include "pch.h"
2
3
void boardTuneDefaults() {
4
- engineConfiguration->displacement = 1.6;
+ engineConfiguration->displacement = 1.8;
5
}
knock_config.h
@@ -4,12 +4,12 @@
#pragma once
6
7
-// Knock is on ADC1 (PA6 is available on ADC1)
8
-#define KNOCK_ADC ADCD2
+// Knock is on ADC3
+#define KNOCK_ADC ADCD3
9
10
-// knock 1 - pin PA6
11
-#define KNOCK_ADC_CH1 ADC_CHANNEL_IN6
12
-#define KNOCK_PIN_CH1 Gpio::A6
+// knock 1 - pin PA3
+#define KNOCK_ADC_CH1 ADC_CHANNEL_IN3
+#define KNOCK_PIN_CH1 Gpio::A3
13
14
// Sample rate & time - depends on the exact MCU
15
#define KNOCK_SAMPLE_TIME ADC_SAMPLE_84
0 commit comments