Skip to content

Instantly share code, notes, and snippets.

View mock-turtle's full-sized avatar

Bartholomew Marshingspoon mock-turtle

View GitHub Profile
@mock-turtle
mock-turtle / Vickie Cloud Manual
Created November 23, 2015 00:47
How to upload your own code & recharge the batteries.
Uploading a new code:
1. Take the battery out.
2. Download the arduino programming application: https://www.arduino.cc/en/Main/Software
3. Download the required libraries. To do this, open the arduino application.
Go to Sketch>Include Library>Manage Libraries.
There will be a popup with a list of libraries you can install.
The ones you need are called FastLED and IRremote.
@mock-turtle
mock-turtle / LED cloud v.2
Last active March 7, 2016 17:53
Updated cloud code. Patterns should play on button press.
//import the necessary libraries
#include "FastLED.h"
#include "IRremote.h"
//define some variables
#define LEDPIN 6
#define RECV_PIN 3
#define LED_TYPE NEOPIXEL
#define NUM_LEDS 15
#define BRIGHTNESS 200
@mock-turtle
mock-turtle / LED cloud
Created November 22, 2015 05:15
Uses fastLED and IRremote.
//import the necessary libraries
#include "FastLED.h"
#include "IRremote.h"
//define some variables
#define LEDPIN 6
#define RECV_PIN 3
#define LED_TYPE NEOPIXEL
#define NUM_LEDS 15
#define BRIGHTNESS 200
@mock-turtle
mock-turtle / Twinkle
Last active August 1, 2021 22:39
Using the glitter effect from the fastLED demo reel
#include "FastLED.h"
#define LEDPIN 6
#define LED_TYPE NEOPIXEL
#define NUM_LEDS 15
#define BRIGHTNESS 60
#define FRAMES_PER_SECOND 120
CRGB leds[NUM_LEDS];
@mock-turtle
mock-turtle / Four-band Bounce Chaser
Created October 6, 2015 21:14
A fastLED based chaser w 4 colours bouncing btwn each other
#include <FastLED.h>
#define NUM_LEDS 12
#define PIN 6
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<NEOPIXEL, PIN>(leds, NUM_LEDS);
}