From 2d483cc58668709a0a64f94b12f044e2ec94d542 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Thu, 10 Dec 2020 18:06:50 -0800 Subject: [PATCH] fix nernst --- firmware/sampling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/sampling.cpp b/firmware/sampling.cpp index 91cd589..21b455c 100644 --- a/firmware/sampling.cpp +++ b/firmware/sampling.cpp @@ -27,7 +27,7 @@ static void SamplingThread(void*) while(true) { // First toggle the pin - palTogglePad(GPIOB, 8); + palTogglePad(GPIOB, 7); auto result = AnalogSample(); float r_1 = result.NernstVoltage;