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
494 B

#ifndef LED_H
#define LED_H
#define LED_OFF 0x00
#define LED_COLOR_WHITE 0x01
#define LED_COLOR_GREEN 0x02
#define FUNCTION_CODE 3
#define LED_COLOR 4
#include <QObject>
#include "Logger.h"
class Led : public QObject
{
Q_OBJECT
private:
char _functionCode;
bool _hasLed;
public:
Led();
Led(char functionCode);
signals:
void ledChanged(char value);
//uncrustify off
public slots:
//uncrustify on
void newData(QByteArray data, Logger* log);
};
#endif //LED_H