Skip to content

Instantly share code, notes, and snippets.

@adam19691026
adam19691026 / gist:6b1fab4d6ca07db7f3ae
Created July 5, 2015 06:14
Neopixel8x8matrix_plasma
/*
Multicolored Plasma for the Arduino Micro-Controller and NeoPixel Shield
Copyright (C) 2013 John Ericksen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
/*
* water_torture.hpp
*
* Created on: Feb 12, 2013
* Author: danny
*/
#ifndef WATER_TORTURE_HPP_
#define WATER_TORTURE_HPP_
#include "ws2811.h"
#include "FastLED.h"
#define LED_PIN 6
#define LED_TYPE WS2811
#define COLOR_ORDER GRB
#define NUM_LEDS 64
CRGB leds[NUM_LEDS];
// Twinkling 'holiday' lights that fade up and down in brightness.
// Colors are chosen from a palette; a few palettes are provided.