Added CV calibration
This commit is contained in:
@ -269,7 +269,7 @@ void checkInputs() {
|
||||
updateScreen();
|
||||
}
|
||||
|
||||
//modulations
|
||||
a1Input = analogRead(ANALOGUE_INPUT_1_PIN);
|
||||
a2Input = analogRead(ANALOGUE_INPUT_2_PIN);
|
||||
//modulations map(randMod, 0, 1023, -5, +5)
|
||||
a1Input = map(analogRead(ANALOGUE_INPUT_1_PIN), 0 - CV1Calibration, 1023 - CV1Calibration, 0, 1023);
|
||||
a2Input = map(analogRead(ANALOGUE_INPUT_2_PIN), 0 - CV2Calibration, 1023 - CV2Calibration, 0, 1023);
|
||||
}
|
||||
Reference in New Issue
Block a user