Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#pragma once
#include "grid/LedOutputInterface.h"
namespace hardware
{
namespace grid
{
class OutputInterface;
}
}
namespace grid
{
class LedOutput : public LedOutputInterface
{
public:
explicit LedOutput( hardware::grid::OutputInterface* gridDriver );
void set( const Coordinates& coordinates, const Color& color ) override;
void setAllOff() override;
private:
Coordinates calculateHardwareCoordinates( const Coordinates& coordinates ) const;
hardware::grid::OutputInterface& gridDriver_;
};
} // namespace grid
527ad3734This file is pinned to the selected release. Download the original to open it in your design tool.