first commit
This commit is contained in:
11
lib/LedMatrix/src/LedMatrix.cpp
Normal file
11
lib/LedMatrix/src/LedMatrix.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "LedMatrix.h"
|
||||
|
||||
LedMatrix::LedMatrix(uint8_t h, uint8_t w)
|
||||
: height(h), width(w), num_leds(h * w), leds(num_leds)
|
||||
{
|
||||
addLeds<WS2812B, MATRIX_PIN, RGB>(leds.data(), num_leds);
|
||||
}
|
||||
|
||||
LedMatrix::~LedMatrix()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user