Initial import

This commit is contained in:
Michael Mandl 2017-10-15 12:30:15 +02:00
commit 94611f2381
10 changed files with 258 additions and 0 deletions

22
source/distancethread.h Normal file
View file

@ -0,0 +1,22 @@
#pragma once
#include <QThread>
class DistanceThread : public QThread
{
Q_OBJECT
private:
const int m_triggerPin = 28;
const int m_echoPin = 29;
public:
DistanceThread();
protected:
void run() override;
signals:
void distanceUpdated(double distMeters);
};