FastLED 3.9.15
Loading...
Searching...
No Matches
defs.h
Go to the documentation of this file.
1#pragma once
2
3// define your LED hardware setup here
4#define CHIPSET WS2812B
5#define LED_PIN 13
6#define COLOR_ORDER GRB
7
8// set master brightness 0-255 here to adjust power consumption
9// and light intensity
10#define BRIGHTNESS 60
11
12// enter your custom matrix size if it is NOT a 16*16 and
13// check in that case the setup part and
14// RenderCustomMatrix() and
15// ShowFrame() for more comments
16#define CUSTOM_WIDTH 8
17#define CUSTOM_HEIGHT 8
18
19// MSGEQ7 wiring on spectrum analyser shield
20#define MSGEQ7_STROBE_PIN 4
21#define MSGEQ7_RESET_PIN 5
22#define AUDIO_LEFT_PIN 0
23#define AUDIO_RIGHT_PIN 1
24
25
26// all 2D effects will be calculated in this matrix size
27// do not touch
28#define WIDTH 16
29#define HEIGHT 16
30
31// number of LEDs based on fixed calculation matrix size
32// do not touch
33#define NUM_LEDS (WIDTH * HEIGHT)