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.
19 lines
314 B
19 lines
314 B
#ifndef ROTAYBUTTON_H
|
|
#define ROTAYBUTTON_H
|
|
|
|
#include "Led.h"
|
|
|
|
class RotayButton
|
|
{
|
|
private:
|
|
char _functionCode;
|
|
Led _led;
|
|
public:
|
|
|
|
RotayButton(char functionCode);
|
|
RotayButton(char functionCode, char ledFunctionCode);
|
|
Led* getLed();
|
|
QByteArray rotate(int value);
|
|
};
|
|
|
|
#endif // ROTAYBUTTON_H
|
|
|