Skip to content

Instantly share code, notes, and snippets.

View kav2k's full-sized avatar

Alexander Kashev kav2k

View GitHub Profile
@kav2k
kav2k / holiday.ino
Last active December 31, 2015 06:09 — forked from Threeethan/gist:7938597
// This is the example sketch that gets loaded on every BlinkyTape during production!
#include <FastSPI_LED2.h>
#include <Animation.h>
#define LED_COUNT 60
struct CRGB leds[LED_COUNT];
#ifdef REVB // RevB boards have a slightly different pinout.
for(int y = 0; y < 13; ++y)
{
for(int x = 0; x < 13; ++x)
{
Uint8 pixelOffset = _ufoTopView->getPixel(x, y);
if(pixelOffset == 0)
{
continue;
}
else