mirror of
https://github.com/thelsing/knx.git
synced 2025-04-23 01:16:29 +02:00
21 lines
410 B
C++
21 lines
410 B
C++
#pragma once
|
|
|
|
#include "state.h"
|
|
|
|
#ifdef USE_STATES
|
|
|
|
class ProgramModeState : public State
|
|
{
|
|
public:
|
|
ProgramModeState() : State(true, true, 200)
|
|
{}
|
|
virtual void enterState();
|
|
virtual void leaveState();
|
|
virtual void shortButtonPress();
|
|
virtual void loop();
|
|
virtual const char* name() { return "ProgramMode"; }
|
|
};
|
|
|
|
extern ProgramModeState programModeState;
|
|
|
|
#endif |