Skip to content

Instantly share code, notes, and snippets.

@embedded-creations
embedded-creations / RingsGif.pde
Created October 13, 2014 22:15
Fadecandy "rings" Example modified for export to 32x32 GIF
/*
* Fadecandy
*
* Copyright (c) 2013 Micah Elizabeth Scott
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
@embedded-creations
embedded-creations / NoiseSmearing.ino
Last active August 29, 2015 14:13
NoiseSmearing Refactored - 20150117
#include<SmartMatrix_32x32.h>
#include<FastLED.h>
// NoiseSmearing by Stefan Petrick: https://gist.github.com/StefanPetrick/9ee2f677dbff64e3ba7a
// Timed playlist code is from Mark Kriegsman's TimedPlaylist demo here: https://gist.github.com/kriegsman/841c8cd66ed40c6ecaae
// Some refactoring by Louis Beaudoin
#if FASTLED_VERSION < 3001000
@embedded-creations
embedded-creations / umbrella_light.ino
Last active February 28, 2016 11:22
Photon Rain LED Tutorial - Step 1
// ------------
// Blink an LED - Modified for Connected-Displays.com Photon Rain LED Tutorial - Step 1
// ------------
/*-------------
We've heavily commented this code for you. If you're a pro, feel free to ignore it.
Comments start with two slashes or are blocked off by a slash and a star.
You can read them, but your device can't.
@embedded-creations
embedded-creations / forecastio_rain.json
Last active February 29, 2016 12:29
Forecast from Forecast.io 44.6296,-121.8004 2016-02-27 3:10AM
{
"latitude": 44.6296,
"longitude": -121.8004,
"timezone": "America/Los_Angeles",
"offset": -8,
"currently": {
"time": 1456571388,
"summary": "Mostly Cloudy",
"icon": "partly-cloudy-night",
"nearestStormDistance": 0,
@embedded-creations
embedded-creations / umbrella_light.ino
Created February 28, 2016 11:24
Photon Rain LED Tutorial - Step 2
// ------------
// Blink an LED - Modified for Connected-Displays.com Photon Rain LED Tutorial - Step 2
// ------------
/*-------------
We've heavily commented this code for you. If you're a pro, feel free to ignore it.
Comments start with two slashes or are blocked off by a slash and a star.
You can read them, but your device can't.
@embedded-creations
embedded-creations / umbrella_light.ino
Created February 28, 2016 12:06
Photon Rain LED Tutorial - Step 3
// ------------
// Blink an LED - Modified for Connected-Displays.com Photon Rain LED Tutorial - Step 3
// ------------
/*-------------
We've heavily commented this code for you. If you're a pro, feel free to ignore it.
Comments start with two slashes or are blocked off by a slash and a star.
You can read them, but your device can't.
@embedded-creations
embedded-creations / umbrella_light.ino
Created February 28, 2016 12:15
Photon Rain LED Tutorial - Complete
// ------------
// Blink an LED - Modified for Connected-Displays.com Photon Rain LED Tutorial - Complete
// ------------
/*-------------
We've heavily commented this code for you. If you're a pro, feel free to ignore it.
Comments start with two slashes or are blocked off by a slash and a star.
You can read them, but your device can't.
@embedded-creations
embedded-creations / PhotonTimingTest.ino
Last active March 31, 2016 10:52 — forked from kasperkamperman/PhotonTimingTest.ino
Test FastLED.show timing on different Particle Photon pins.
/*
Measurement of the FastLED.show() routine.
Soft SPI is only supported till now on the Photon.
However non-SPI pins seem to be 140us faster then when using the SPI pins.
Using those SPI pins in hardware design might be interesting for future compatibility
when hardware SPI gets supported.
Below the timing test of different pin combinations. The APA102 is updated at 16Mhz.
*/
@embedded-creations
embedded-creations / WakeupLight.ino
Last active April 14, 2016 16:03
Wakeup Light - Test receiving message using "wakeup" function
/*
* Wakeup Light - Test "wakeup" Function Only
*/
#include "InternetButton.h"
InternetButton b = InternetButton();
int wakeupHandler(String command) {
Serial.println();
@embedded-creations
embedded-creations / WakeupLight.ino
Last active April 14, 2016 16:04
Wakeup Light Project - Minimal Version
/*
* Wakeup Light - Minimal Version
*
* Copyright (c) 2016 Louis Beaudoin (Pixelmatix)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,