Setti inn allar skrár frá Project 3 og bætti við overlay í samræmi við controlloerinn og pin out.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#ifndef INITIALIZATION_STATE_H
|
||||
#define INITIALIZATION_STATE_H
|
||||
|
||||
#include "state.h"
|
||||
|
||||
|
||||
class InitializationState : public State
|
||||
{
|
||||
private:
|
||||
static const unsigned long WAIT_MS = 2000;
|
||||
|
||||
unsigned long enter_time_ms = 0;
|
||||
|
||||
public:
|
||||
void enter() override;
|
||||
|
||||
void update() override;
|
||||
|
||||
void command(char c) override;
|
||||
|
||||
void exit() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user