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.
First, I'll assume that you have the following environment variables set:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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. |
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.
In order to prevent any loss of work it is best to clone the repo in a separate location to complete this task.
Create a new branch in your repo by using git checkout --orphan assets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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 |
