mirror of
https://github.com/Ikatono/stream_pad_arduino.git
synced 2026-01-14 13:27:41 -06:00
large update
This commit is contained in:
12
src/Page.cpp
Normal file
12
src/Page.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "Page.hpp"
|
||||
|
||||
namespace Configuration
|
||||
{
|
||||
std::array<Pixel, 12> Page::led_rgb;
|
||||
|
||||
void Page::update_leds()
|
||||
{
|
||||
for (int i = 0; i < 12; i++)
|
||||
led_rgb[i] = buttons[i].color;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user