light cleanup

This commit is contained in:
David Todd (c0de) 2018-07-06 02:08:39 -05:00
parent f5edd358f7
commit 40db3ea547

View File

@ -17,19 +17,13 @@
#include <ArduinoJson.h>
#include "pixols.h"
#define WIDTH 16 // Display width in pixels
#define HEIGHT 16 // Display height in pixels
#define MAX_FPS 45
#define MAX_X (WIDTH * SCALE - 1)
#define MAX_Y (HEIGHT * SCALE - 1)
uint32_t prevTime = 0;
#define DATAPIN 19
#define CLOCKPIN 18
#define SHIFTDELAY 30
#define BRIGHTNESS 15
#define MAX_FPS 45
Adafruit_DotStarMatrix matrix = Adafruit_DotStarMatrix(
16, 16, DATAPIN, CLOCKPIN,