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
public class SerialSelector { | |
public boolean m_chosen; | |
public String m_port; | |
PFont m_font; | |
int m_fontSize = 15; | |
float m_fontHeight; | |
float m_fontAscent; | |
//color m_bgcolor = color(80,120,230,150); |
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
#include <FastSPI_LED2.h> | |
#define DEBUG | |
#define LED_COUNT 60 // BlinkyTape has 60 LEDs! | |
struct CRGB leds[LED_COUNT]; // this struct contains 60 CRGB values. This is where | |
#define LED_MAX_BRIGHTNESS 55 | |
#define PIN_BUTTON 10 |
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
int freeRam () { | |
extern int __heap_start, *__brkval; | |
int v; | |
return (int) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval); | |
} | |
Serial.print("Free Ram = "); Serial.println (freeRam()); |
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. |