raspikeyer/src/keyer.h

20 lines
204 B
C
Raw Normal View History

2024-02-09 12:20:30 +01:00
#ifndef KEYER_H
#define KEYER_H
class Keyer final
{
public:
enum class State
{
2024-02-10 23:51:55 +01:00
Wait,
LeftPaddlePressed,
2024-02-09 12:20:30 +01:00
};
void run();
private:
2024-02-10 23:51:55 +01:00
State state{State::Wait};
2024-02-09 12:20:30 +01:00
};
#endif