Part 2 nýjir kóðar, fyrir STOP og Fault kerfi

This commit is contained in:
2026-09-30 11:52:06 +00:00
parent 7ca9c51268
commit d96da75bdf
8 changed files with 154 additions and 4 deletions
+25
View File
@@ -0,0 +1,25 @@
#ifndef STOPPED_STATE_H
#define STOPPED_STATE_H
#include "state.h"
class StoppedState : public State
{
private:
unsigned long previous_time; // Used for blinking LED
bool led_state; // Ditto
public:
StoppedState();
void enter() override;
void update() override;
void command(char c) override;
void exit() override;
};
#endif