before shim

This commit is contained in:
Alexander Belov 2024-09-03 09:17:04 +07:00
parent e214e5b59d
commit 97c5b741b5

View File

@ -47,7 +47,7 @@ struct Profile {
Profile profiles[] = {
{"Chickpeas", 3, {{47, 120}, {53, 120}, {65, 180}, {72, 90}, {90, 90}}, 5},
{"Lentils", 3, {{47, 120}, {53, 120}, {65, 180}, {72, 90}, {90, 15}}, 5},
{"Lentils: Gradual", 10, {{48, 120}, {80, 60}}, 2},
{"Lentils gradual", 10, {{48, 120}, {80, 60}}, 2},
{"Wheat", 3, {{47, 60}, {53, 60}, {65, 20}, {72, 20}, {85, 20}}, 5},
{"Veggies Sous Vide", 2, {{55, 30}, {85, 120}}, 2},
{"Test", 1, {{49, 1}, {51, 1}}, 2},
@ -65,7 +65,7 @@ bool inSelectionMode = true;
// PID Control variables
double Setpoint, Input, Output;
double Kp = 1, Ki = 2, Kd = 0.25;
double Kp = 1, Ki = 1, Kd = 0.05;
PID myPID(&Input, &Output, &Setpoint, Kp, Ki, Kd, DIRECT);
// Timing variables