Skip to content

Instantly share code, notes, and snippets.

View ravenbyron's full-sized avatar

Byron Albert ravenbyron

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ravenbyron on github.
  • I am byron (https://keybase.io/byron) on keybase.
  • I have a public key whose fingerprint is 348A F2AA 2760 1AC5 9D63 9676 92AD 4529 4DB8 0CD4

To claim this, I am signing this object:

@ravenbyron
ravenbyron / HashMap.h
Created September 25, 2017 16:16
HashMap.h used in Stranger Things
/*
||
|| @file HashMap.h
|| @version 1.0 Beta
|| @author Alexander Brevig
|| @contact alexanderbrevig@gmail.com
||
|| @description
|| | This library provides a simple interface for storing data with an associate key
|| #
@ravenbyron
ravenbyron / trangerthings.ino
Created September 25, 2017 15:16
Stranger Things Arduino code
#include <FastLED.h>
#include <HashMap.h>
#define DATA_PIN 7 //this is the data pin connected to the LED strip. If using WS2801 you also need a clock pin
#define NUM_LEDS 50 //change this for the number of LEDs in the strip
#define COLOR_ORDER RGB
CRGB leds[NUM_LEDS];
CRGB colors[5];
int myleds[25];