This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
qEcho/source/blinkthread.h

25 lines
277 B
C++

#pragma once
#include "led.h"
#include <QThread>
class BlinkThread : public QThread
{
Q_OBJECT
private:
Led m_led;
public:
BlinkThread() = delete;
BlinkThread(unsigned int pin);
protected:
void run() override;
signals:
void ledOn();
void ledOff();
};