Uppfærður kóði sem tekur á móti input fyrir Kp og Ti, ásamt því að uppfæra UML diagram

This commit is contained in:
2026-10-01 13:38:28 +00:00
parent a5c2da8bae
commit eb402d5da5
4 changed files with 110 additions and 8 deletions
+16
View File
@@ -2,6 +2,7 @@
#define PRE_OPERATIONAL_STATE_H
#include "state.h"
#include "stdint.h"
class PreOperationalState : public State
{
@@ -9,6 +10,21 @@ private:
unsigned long previous_time;
bool led_state;
//bool waiting_for_kp;
//bool waiting_for_ti;
enum InputMode
{
NONE,
ENTER_KP,
ENTER_TI
};
InputMode input_mode;
char input_buffer[16];
uint8_t input_index;
public:
PreOperationalState();