26#ifndef PART_LED_MATRIX_H
27#define PART_LED_MATRIX_H
29#include "../devices/ldd_max72xx.h"
30#include "../lib/part.h"
32#define PART_LED_MATRIX_Name "LED Matrix"
36 std::string
GetAboutInfo(
void)
override {
return "L.C. Gamboa \n <lcgamboa@yahoo.com>"; };
37 cpart_led_matrix(
const unsigned x,
const unsigned y,
const char* name,
const char* type,
board* pboard_,
40 void DrawOutput(
const unsigned int index)
override;
47 unsigned short GetInputId(
char* name)
override;
52 unsigned char input_pins[3];
53 unsigned char output_pins[1];
Board class.
Definition board.h:111
Definition output_LED_matrix.h:34
void RegisterRemoteControl(void) override
Register remote control variables.
Definition output_LED_matrix.cc:180
void PostProcess(void) override
Called every end of CPU process.
Definition output_LED_matrix.cc:227
void DrawOutput(const unsigned int index) override
Called to draw every output.
Definition output_LED_matrix.cc:74
std::string WritePreferences(void) override
Called to save part preferences in configuration file.
Definition output_LED_matrix.cc:160
void ReadPreferences(std::string value) override
Called whe configuration file load preferences.
Definition output_LED_matrix.cc:169
unsigned short GetInputId(char *name) override
return the input ids numbers of names used in input map
Definition output_LED_matrix.cc:133
unsigned short GetOutputId(char *name) override
return the output ids numbers of names used in output map
Definition output_LED_matrix.cc:138
void ReadPropertiesWindow(void) override
Called when properties window close.
Definition output_LED_matrix.cc:198
void Process(void) override
Called every CPU step.
Definition output_LED_matrix.cc:213
void ConfigurePropertiesWindow(void) override
Called to configure the properties window.
Definition output_LED_matrix.cc:184
std::string GetAboutInfo(void) override
Return the about information of part.
Definition output_LED_matrix.h:36
PART class.
Definition part.h:49
Definition ldd_max72xx.h:59