Increased voltage to 4.5V

This commit is contained in:
Jan Mrna
2026-05-16 19:15:51 +02:00
parent 1b40078c67
commit f0b0705ab0
+1 -1
View File
@@ -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;