Skip to content

Instantly share code, notes, and snippets.

View schinken's full-sized avatar

Christopher Schirner schinken

View GitHub Profile
#include <Wire.h>
const int I2C_ADDR = 0x50;
void dumpEEPROM(bool dumpAsCode = false)
{
for (int i = 0; i < 256; i++) {
const byte eepromByte = readByte(I2C_ADDR, i);
if (dumpAsCode)
{
@schinken
schinken / gist:9f953e0cf19feadfb89a
Created October 19, 2015 08:21 — forked from mtwhitley/gist:e2b04f5a034fac617d9c
FastLED Fire 2012 Demo (2 Strips)
#include <FastLED.h>
#define DATA_PIN 3
#define CLOCK_PIN 2
#define DATA_PIN_2 7
#define CLOCK_PIN_2 6
#define CHIPSET APA102
#define NUM_LEDS 144
#define BRIGHTNESS 100

Python Number Conversion Chart

From To Expression