This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |