Separated Qt and WiringPi code in blink thread

This commit is contained in:
Michael Mandl 2017-10-16 15:23:54 +02:00
parent d2e774fe5c
commit 488d4c8f71
6 changed files with 52 additions and 12 deletions

15
source/led.h Normal file
View file

@ -0,0 +1,15 @@
#pragma once
class Led
{
private:
unsigned int m_pin = 0;
public:
Led(unsigned int pin);
void on() const;
void off() const;
};