mirror of
https://github.com/alopexc0de/pixopixel.git
synced 2024-11-14 23:27:25 +00:00
light cleanup
This commit is contained in:
parent
f5edd358f7
commit
40db3ea547
@ -17,19 +17,13 @@
|
|||||||
#include <ArduinoJson.h>
|
#include <ArduinoJson.h>
|
||||||
#include "pixols.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;
|
uint32_t prevTime = 0;
|
||||||
|
|
||||||
#define DATAPIN 19
|
#define DATAPIN 19
|
||||||
#define CLOCKPIN 18
|
#define CLOCKPIN 18
|
||||||
#define SHIFTDELAY 30
|
#define SHIFTDELAY 30
|
||||||
#define BRIGHTNESS 15
|
#define BRIGHTNESS 15
|
||||||
|
#define MAX_FPS 45
|
||||||
|
|
||||||
Adafruit_DotStarMatrix matrix = Adafruit_DotStarMatrix(
|
Adafruit_DotStarMatrix matrix = Adafruit_DotStarMatrix(
|
||||||
16, 16, DATAPIN, CLOCKPIN,
|
16, 16, DATAPIN, CLOCKPIN,
|
||||||
|
Loading…
Reference in New Issue
Block a user