View led_matrix_htf.ino
// !!!
// Scroll down past where the alphabet is defined in order to set what to say
// !!!
#define CHAR_WIDTH 5 // each character is 5 columns wide
#define SP {0, 0, 0, 0, 0} //Space
#define DOT {0, 0, 1, 0, 0} //Space
#define EX {0, 125, 0, 0, 0} //Exclamation !
#define EX2 {0, 125, 0, 125, 0} //Exclamation !!
#define A {31, 36, 68, 36, 31}
#define B {127, 73, 73, 73, 54}
View CoderDojoYinYang.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:f93ed35c692e9aac886c
// Gray text with two slashes are just helpful comments, you don’t need to type them. :)
/******* -----=====!! EASY STUFF TO MESS WITH !!=====------ ******/
// What analog pin should we use to read the value from the potentiometer?
int analogPin = 2; // Yep, you heard right: The coolest of the Analog pins...
// What pins are the LEDs connected to?
int redPin = 9;
View strand-bright.
#include <Adafruit_NeoPixel.h>
#include <avr/power.h>
#define PIN 6
// Parameter 1 = number of pixels in strip
// Parameter 2 = Arduino pin number (most are valid)
// Parameter 3 = pixel type flags, add together as needed:
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs)
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
View led_toy
int PIN_BASE=2;
int PINS_TO_USE=10;
#define STANDARD 0x0
#define INSTANT 0x1 // not &0x1 ? then standard speed
View random_leds
int PIN_BASE=4; // lowest pin to use.
int PIN_CT=6; // number of LEDs attached
int delayBase=35; // a heartbeat, of sorts. in milliseconds.
void setup() {
// initialize digital pins (base) to (base+count) as output:
for (int i = PIN_BASE; i <= PIN_BASE+PIN_CT; i++) {
View led_matrix_leap
// !!!
// Scroll down past where the alphabet is defined in order to set what to say
// !!!
#define CHAR_WIDTH 5 // each character is 5 columns wide
#define SP {0, 0, 0, 0, 0} //Space
#define DOT {0, 0, 1, 0, 0} //Space
#define EX {0, 125, 0, 0, 0} //Exclamation !
#define EX2 {0, 125, 0, 125, 0} //Exclamation !!
#define A {31, 36, 68, 36, 31}
#define B {127, 73, 73, 73, 54,}
View rgb_cycle
const int RED_PIN = 9;
const int GREEN_PIN = 10;
const int BLUE_PIN = 11;
const int MAX_VAL=255;
void setup() {
// initialize digital pins as output:
for (int i = PIN_BASE; i <= PIN_BASE+PIN_CT; i++) {