Nýtt branch og kóðar plús breytingar á fyrri kóðum fyrir part 4
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef PRE_OPERATIONAL_STATE_H
|
||||
#define PRE_OPERATIONAL_STATE_H
|
||||
|
||||
#include "state.h"
|
||||
|
||||
class PreOperationalState : public State
|
||||
{
|
||||
private:
|
||||
unsigned long previous_time;
|
||||
bool led_state;
|
||||
|
||||
public:
|
||||
PreOperationalState();
|
||||
|
||||
void enter() override;
|
||||
void update() override;
|
||||
void command(char c) override;
|
||||
void exit() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user