#ifndef LEDCONTROL_H #define LEDCONTROL_H #include #include #include #include #include #include #include #include #include #include #include class ledcontrol : public QObject { Q_OBJECT public: explicit ledcontrol(QObject *parent = nullptr); ~ledcontrol(); private: int fd = 0; void ledWrite(int slave_addr,int w_b,int len); signals: void SilencingKeyClick(); private slots: void onTimerTimeOutSilencer(); void onLedControl(int); }; #endif // LEDCONTROL_H