|
NanoLux (Device) 3.0
Codebase for the open-source AudioLux device.
|
Go to the source code of this file.
Macros | |
| #define | ARRAY_SIZE(A) |
| #define | ANALOG_PIN A2 |
| #define | ROTARY_ENCODER_A_PIN 27 |
| #define | ROTARY_ENCODER_B_PIN 33 |
| #define | ROTARY_ENCODER_BUTTON_PIN 32 |
| #define | ROTARY_ENCODER_VCC_PIN -1 |
| #define | ROTARY_ENCODER_STEPS 4 |
| #define | MAX_LEDS 200 |
| #define | DATA_PIN 15 |
| #define | CLK_PIN 14 |
| #define | LED_TYPE SK9822 |
| #define | COLOR_ORDER BGR |
| #define | MAX_BRIGHTNESS 255 |
| #define | FRAMES_PER_SECOND 120 |
| #define | SAMPLES 128 |
| #define | SAMPLING_FREQUENCY 8000 |
| #define | BINS SAMPLES / 2 |
| #define | NOISE_GATE_THRESH 20 |
| #define | MAX_NOISE_GATE_THRESH 100 |
| #define | STRIP_SPLITTING 0 |
| #define | Z_LAYERING 1 |
| #define | BUTTON_PIN 32 |
| #define | MAX_FREQUENCY 4000.0 |
| #define | MIN_FREQUENCY 50.0 |
| #define | MAX_VOLUME 3000.0 |
| #define | MIN_VOLUME 100.0 |
| #define | RESET_TIME 10000 |
| #define | COOLING 100 |
| #define | SPARKING 72 |
| #define | VOL_SHOW true |
Typedefs | |
| typedef void(* | SimplePatternList[]) () |
Enumerations | |
| enum | VowelSounds { aVowel = 1 , eVowel = 2 , iVowel = 3 , oVowel = 4 , uVowel = 5 , noVowel = 6 } |
This file contains defined macros and constants that are used in many places in the Nanolux codebase.
| #define ARRAY_SIZE | ( | A | ) |