This file contains hidden or 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 "SparkButton/SparkButton.h" | |
SparkButton b = SparkButton(); | |
uint8_t button1 = 0; | |
uint8_t button2 = 0; | |
uint8_t button3 = 0; | |
uint8_t button4 = 0; | |
uint8_t buttonAll = 0; | |
int gaugeCount = 0; |
This file contains hidden or 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
// scrolltext demo for Adafruit RGBmatrixPanel library. | |
// Demonstrates double-buffered animation on our 16x32 RGB LED matrix: | |
// http://www.adafruit.com/products/420 | |
// Written by Limor Fried/Ladyada & Phil Burgess/PaintYourDragon | |
// for Adafruit Industries. | |
// BSD license, all text above must be included in any redistribution. | |
#if defined(SPARK) | |
#include "Adafruit_mfGFX/Adafruit_mfGFX.h" // Core graphics library |
This file contains hidden or 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
// | |
// To start out we're going to define some things to allow for cleaner code below; let's start with our twitter auth info: | |
// | |
#define TWITTER_OAUTH "ENTER OAUTH TOKEN HERE" | |
#define LIB_DOMAIN "arduino-tweet.appspot.com" | |
// | |
// lets be good Twitter citizens and limit the number of times our pumpkins tweets when it's calm. Below you can see it's set to | |
// send a calm tweet every 45 minutes at the absolute most. It will send an "alarm" tweet only every minute | |
// |