forked from Sepanta/console-emulator
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
308 B
21 lines
308 B
3 years ago
|
#ifndef RotaryButton_H
|
||
|
#define RotaryButton_H
|
||
|
|
||
|
#include "Led.h"
|
||
|
|
||
|
class RotaryButton
|
||
|
{
|
||
|
private:
|
||
|
char _functionCode;
|
||
|
Led _led;
|
||
|
|
||
|
public:
|
||
|
RotaryButton(char functionCode);
|
||
|
RotaryButton(char functionCode, char ledFunctionCode);
|
||
|
|
||
|
Led* getLed();
|
||
|
QByteArray rotate(int value);
|
||
|
};
|
||
|
|
||
|
#endif //RotaryButton_H
|