Initial import
This commit is contained in:
commit
94611f2381
10 changed files with 258 additions and 0 deletions
22
source/blinkthread.h
Normal file
22
source/blinkthread.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include <QThread>
|
||||
|
||||
class BlinkThread : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
const int m_blinkPin = 15;
|
||||
|
||||
public:
|
||||
BlinkThread();
|
||||
|
||||
protected:
|
||||
void run() override;
|
||||
|
||||
signals:
|
||||
void ledOn();
|
||||
void ledOff();
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue