From f0b0705ab097e01e4e17074c4e938d95eebbb8a8 Mon Sep 17 00:00:00 2001 From: Jan Mrna Date: Sat, 16 May 2026 19:15:51 +0200 Subject: [PATCH] Increased voltage to 4.5V --- fw/Core/Src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fw/Core/Src/main.c b/fw/Core/Src/main.c index 6b9956c..59b6367 100644 --- a/fw/Core/Src/main.c +++ b/fw/Core/Src/main.c @@ -152,7 +152,7 @@ int main(void) //float voltage_ch1 = (val_ch1 * 3.3f) / 4095.0f * adc_voltage_divider; // simple bang-bang regulation - const float target_voltage = 3.5f; + const float target_voltage = 4.5f; if (voltage_ch0 < target_voltage) { state = GPIO_PIN_SET;