This file contains 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
# This program is released under the following MIT license: | |
# Copyright 2016-2019 Jan-Philip Gehrcke (https://gehrcke.de) | |
# 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, subject to the following conditions: |
This file contains 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
(footprint "footprints:D3_hybrid_common_hole_connected" (version 20211014) (generator pcbnew) | |
(layer "F.Cu") | |
(tedit 6207DDAF) (tstamp f67cfab7-8943-4f59-bbfb-0ab68a4d7c0d) | |
(at -3.006413 0.693826 14) | |
(property "Sheetfile" "atreyu-pcb2.kicad_sch") | |
(property "Sheetname" "") | |
(path "/b01861f4-d8b4-4e4a-abe8-e79abd992746") | |
(attr through_hole) | |
(fp_text reference "D57" (at 3.302 0 14) (layer "F.SilkS") | |
(effects (font (size 1 1) (thickness 0.2))) |
This file contains 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
/* | |
Check out the video for the Addressable Seven Segment Display at https://youtu.be/nfvzyg8gkIE | |
This is an example program to run the addressable 7 segment display chain. | |
Connect to pin 9 and define how many Digits you have in the daisy chain | |
I refer to each 7 segment display as a DIGIT, and easy led in a digit as a SEGMENT | |
There are 7 segments and 1 decimal place. | |
If you want to help develop a real library for these feel free to contact me @ sean.hodginsa@gmail.com | |
I will gladly supply you with a few displays to get the ball rolling. |
This file contains 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
// stolen from https://github.com/fibonacci162 | |
#include <FastLED.h> | |
#define LED_PIN 13 // hardware SPI pin SCK | |
#define NUM_LEDS 250 | |
#define COLOR_ORDER RGB | |
#define LED_TYPE WS2811 | |
#define MAX_BRIGHTNESS 255 // watch the power! | |
#define GRAVITY -9.81 // Downward (negative) acceleration of gravity in m/s^2 |
This file contains 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
void noise_noise1() { | |
CRGBPalette16 Pal( pit ); | |
/* here is how the palette looks like: | |
DEFINE_GRADIENT_PALETTE( pit ) { | |
0, 3, 3, 3, | |
64, 13, 13, 255, // blue | |
128, 3, 3, 3, | |
192, 255, 130, 3, // orange |
This file contains 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" | |
// ColorWavesWithPalettes | |
// Animated shifting color waves, with several cross-fading color palettes. | |
// by Mark Kriegsman, August 2015 | |
// | |
// Color palettes courtesy of cpt-city and its contributors: | |
// http://soliton.vm.bytemark.co.uk/pub/cpt-city/ | |
// | |
// Color palettes converted for FastLED using "PaletteKnife" v1: |
This file contains 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
#define VUFadeFactor 5 | |
#define VUScaleFactor 2.0 | |
#define VUPaletteFactor 1.5 | |
const int heart0[] = {94, 95, 108, 109, 123, 124}; | |
const int heart1[] = {78, 79, 80, 93, 96, 107, 110, 122, 125, 136, 137, 138}; | |
const int heart2[] = {65, 66, 67, 77, 81, 92, 111, 121, 135, 139, 152, 153, 154}; | |
const int heart3[] = {48, 49, 50, 51, 64, 68, 76, 82, 91, 97, 106, 112, 120, 126, 134, 140, 151, 155, 164, 165, 166, 167}; | |
const int heart4[] = {36, 37, 38, 39, 47, 52, 63, 69, 83, 90, 113, 119, 141, 150, 156, 163, 168, 181, 182, 183, 184}; | |
const int heart5[] = {18, 19, 20, 21, 35, 40, 46, 53, 62, 70, 75, 84, 89, 98, 105, 114, 118, 127, 133, 142, 149, 157, 162, 169, 180, 185, 192, 193, 194, 195}; |
This file contains 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 "SmartMatrix.h" | |
#include "FastLED.h" | |
// FireworksXY | |
// Quick and dirty 2-D fireworks simulation using FastLED. | |
// | |
// Originaly designed an Adafruit 5x8 WS2811 shield, but works fine | |
// on other XY matricies. | |
// | |
// by Mark Kriegsman, July 2013 |