From 97cc4a6519b104989f5ab46c1a7d931d49392745 Mon Sep 17 00:00:00 2001 From: as-def Date: Tue, 31 Jan 2023 23:36:44 +0100 Subject: [PATCH] pot input example: explain input can read < 0 --- patch_sm/GettingStarted/Pot_Input/Pot_Input.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/patch_sm/GettingStarted/Pot_Input/Pot_Input.cpp b/patch_sm/GettingStarted/Pot_Input/Pot_Input.cpp index 9460d05dd..1f27e95bf 100644 --- a/patch_sm/GettingStarted/Pot_Input/Pot_Input.cpp +++ b/patch_sm/GettingStarted/Pot_Input/Pot_Input.cpp @@ -19,7 +19,11 @@ int main(void) /** Update all cv inputs */ patch.ProcessAllControls(); - /** Get CV_1 Input (0, 1) */ + /** Get CV_1 Input ~(0, 1) + * The values can be slightly outside of that + * range - That means you can get small negative + * values, too! + */ float value = patch.GetAdcValue(CV_1); /** Here the pot is wired to GND and 5V