- PID: introduced INIT State

- refactored
This commit is contained in:
jens
2021-10-12 16:47:05 +02:00
parent 55315e268e
commit bf7ec2beaf
3 changed files with 22 additions and 23 deletions
+9
View File
@@ -1,3 +1,12 @@
from enum import Enum
class States(Enum):
INIT = -1,
IDLE = 0,
HEAT = 1,
HOLD = 2
THRESH_HOLD_IDLE = 0.1
THRESH_HOLD_HEAT = 1.0