API Documentation v0.0.1
Loading...
Searching...
No Matches
Colors.h
1/**********************************************************************************************************************
2 * ____ _ _ _
3 * / __ \ | | | | | |
4 * | | | |_ __ ___ _ __ | |__| | ___ _ __ _ __ ___| |_
5 * | | | | '_ \ / _ \ '_ \| __ |/ _ \| '__| '_ \ / _ \ __|
6 * | |__| | |_) | __/ | | | | | | (_) | | | | | | __/ |_
7 * \____/| .__/ \___|_| |_|_| |_|\___/|_| |_| |_|\___|\__|
8 * | |
9 * |_|
10 * ----------------------------------------------------------------------------------
11 *
12 * @file Colors.h
13 * @author Ulukaii
14 * @date 24.05.2025
15 * @version t 0.3.2
16 * @copyright Copyright 2016-2025 OpenHornet. See 2A13-BACKLIGHT_CONTROLLER.ino for details.
17 * @brief Defines the color constants for the LED strips.
18 * @details The color constants are used to set the color of the LED strips.
19 * The color constants are defined according to MIL-STD-3099.
20 * Adapt to your visual preferences.
21 * Note that methods that are dimming these LEDs are using FastLED's nscale8_video() function.
22 * This function provides a more color-preserving dimming effect than pure RGB value recalculation.
23 *********************************************************************************************************************/
24
25#ifndef COLORS_H
26#define COLORS_H
27
28#include "FastLED.h"
29
30// Color definitions according MIL-STD-3099. Adapt to your visual preferences.
31#define NVIS_YELLOW CRGB(172, 144, 0) // Yellow Indicators
32#define NVIS_RED CRGB(158, 4, 4) // Red Indicators
33#define NVIS_GREEN_A CRGB(25, 155, 0) // Green Backlighting (Mil-Spec: 51, 102, 0)
34#define NVIS_GREEN_B CRGB(25, 155, 0) // Green indicators (Mil-Spec: 85, 138, 0)
35#define NVIS_WHITE CRGB(40, 40, 30) // Dimmed white, e.g. for Jett Station Select toggle light
36#define NVIS_BLACK CRGB(0, 0, 0) // No colour / OFF
37#define NVIS_CGRB_GREEN_A CRGB(155, 25, 0) // For GRB LEDs (e.g. Radar Altimeter and Standby Instruments)
38
39#endif // COLORS_H