Added 'rainbow' boot sequence

Moved color transform to utils lib
This commit is contained in:
T. van der Zwan
2013-08-23 16:24:10 +00:00
parent 6ee94409dc
commit 3d02fecc7a
20 changed files with 218 additions and 78 deletions

View File

@@ -0,0 +1,32 @@
#pragma once
// QT includes
#include <QTimer>
// Hyperion includes
#include <hyperion/Hyperion.h>
class RainbowBootSequence : public QObject
{
Q_OBJECT
public:
RainbowBootSequence(Hyperion * hyperion);
void start();
private slots:
void update();
private:
QTimer _timer;
Hyperion * _hyperion;
int _priority;
std::vector<RgbColor> _ledColors;
int _iterationCounter;
};