23 lines
292 B
C
23 lines
292 B
C
#ifndef RGBMATRIXDISPLAY_CONFIG_H
|
|
#define RGBMATRIXDISPLAY_CONFIG_H
|
|
|
|
#include "mode/Mode.h"
|
|
|
|
struct Config {
|
|
ModeId mode;
|
|
double speed;
|
|
uint8_t brightness;
|
|
};
|
|
|
|
extern Config config;
|
|
|
|
void config_setup();
|
|
|
|
void config_loop();
|
|
|
|
bool config_load();
|
|
|
|
void config_set_dirty();
|
|
|
|
#endif
|