add led_test

This commit is contained in:
Lurkars 2020-12-29 22:37:27 +01:00
parent 7a44d64893
commit b7c0768b35

View File

@ -6,9 +6,12 @@
// Define which pins to use. // Define which pins to use.
const uint8_t dataPin = 10; const uint8_t dataPin = 10;
const uint8_t clockPin = 11; const uint8_t clockPin = 11;
const uint8_t brightness = 1;
const uint16_t led_count = 112; const uint16_t led_count = 112;
rgb_color color_buffer[led_count];
// Create an object for writing to the LED strip. // Create an object for writing to the LED strip.
APA102<dataPin, clockPin> ledStrip; APA102<dataPin, clockPin> ledStrip;