Skip to content

Instantly share code, notes, and snippets.

View THATDONFC's full-sized avatar
🏠
Working from home

THATDONFC THATDONFC

🏠
Working from home
View GitHub Profile
@darconeous
darconeous / eagle-200-curl.md
Last active August 10, 2022 03:34
Eagle-200 Local Usage via CURL

Eagle-200 Local Usage via CURL

You can locally pull data from your Rainforest Eagle-200 using cURL.

Rainforest has published a local API document which explains the details of the protocol. But this particular document is about quickly getting to the point and giving you some cURL commands you can use to immediately start pulling out data.

Prerequisites

First, I'll assume that you have the following environment variables set:

@kriegsman
kriegsman / fadeTowardColor.ino
Created December 11, 2016 22:44
A function for fading one RGB color toward a target RGB color
#include <FastLED.h>
// fadeTowardColor example code.
//
// Sample code that includes a function for fading one RGB color toward a target RGB color
// Also includes a function for fading a whole array of pixels toward a given color
//
// Both of these functions _modify_ the existing color, in place.
//
// All fades are done in RGB color space.
@joncardasis
joncardasis / Storing-Images-On-Github.md
Last active June 8, 2024 07:45
Storing Images and Demos in your Repo

Storing Images and Demos in your Repo

In this quick walkthough you'll learn how to create a separate branch in your repo to house your screenshots and demo gifs for use in your master's readme.

How to

1. Clone a fresh copy of your repo

In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.

2. Create a new branch

Create a new branch in your repo by using git checkout --orphan assets

@kriegsman
kriegsman / Fireworks16x16.ino
Created December 31, 2014 17:04
2-D Fireworks simulation tuned for 16x16 matrix
#include "FastLED.h"
// Quick and dirty 2-D fireworks simulation
// Originaly designed (and tuned for) a 16x16 matrix
// by Mark Kriegsman, July 2013
// (and not updated since, so it's a little stale,
// but it's a good starting point, if rather uncommented.)
#define PIXEL_WIDTH 15
#define PIXEL_HEIGHT 16