NanoLux (Device) 3.0
Codebase for the open-source AudioLux device.
Loading...
Searching...
No Matches
nanolux_types.h File Reference

Go to the source code of this file.

Macros

#define ARRAY_SIZE(A)   (sizeof(A) / sizeof((A)[0]))
 
#define ANALOG_PIN   A3
 
#define ROTARY_ENCODER_A_PIN   23
 
#define ROTARY_ENCODER_B_PIN   22
 
#define ROTARY_ENCODER_BUTTON_PIN   33
 
#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   10000
 
#define NOISE_GATE_THRESH   20
 
#define MAX_NOISE_GATE_THRESH   100
 
#define STRIP_SPLITTING   0
 
#define Z_LAYERING   1
 
#define BUTTON_PIN   33
 
#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
}
 

Detailed Description

This file contains defined macros and constants that are used in many places in the Nanolux codebase.