Compare commits

..

2 Commits

Author SHA1 Message Date
6cfcf61ebf sv 2024-09-03 16:08:01 +07:00
97c5b741b5 before shim 2024-09-03 09:17:04 +07:00

View File

@ -47,9 +47,10 @@ 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},
{"Sous Vide 55+120", 1, {{55, 30}, {85, 120}}, 2},
{"Sous Vide 46", 1, {{46, 60}}, 1},
{"Test", 1, {{49, 1}, {51, 1}}, 2},
};
@ -65,7 +66,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