mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
4031a33f04
Added test executable for creating png from frame grabber. Added test-device for exporting color values of leds to text file. Updated configuration to match new color transform. Finished first version of the Hyperion structure (IT WORKS [1% CPU]!)
20 lines
295 B
C++
20 lines
295 B
C++
#pragma once
|
|
|
|
// STL includes0
|
|
#include <fstream>
|
|
|
|
// Hyperion includes
|
|
#include <hyperion/LedDevice.h>
|
|
|
|
class LedDeviceTest : public LedDevice
|
|
{
|
|
public:
|
|
LedDeviceTest();
|
|
virtual ~LedDeviceTest();
|
|
|
|
virtual int write(const std::vector<RgbColor> & ledValues);
|
|
|
|
private:
|
|
std::ofstream _ofs;
|
|
};
|