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.

35 lines
462 B

3 years ago
#ifndef LED_H
#define LED_H
#define LedOFF 0x00
#define LedColorWhite 0x01
#define LedColorGreen 0x02
#define FunctionCode 3
#define LedColor 4
3 years ago
#include <QObject>
#include "Logger.h"
3 years ago
class Led : public QObject
{
Q_OBJECT
3 years ago
private:
char _functionCode;
bool _hasLed;
Logger* _logger;
3 years ago
public:
Led();
Led(char functionCode);
3 years ago
signals:
void ledChanged(char value);
public slots:
void newData(QByteArray data);
3 years ago
};
#endif //LED_H