From | To | Expression |
---|
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 <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) | |
{ |
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> | |
#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 |