|
|
@ -2930,30 +2930,31 @@ |
|
|
|
// Support for Adafruit NeoPixel LED driver
|
|
|
|
//#define NEOPIXEL_LED
|
|
|
|
#if ENABLED(NEOPIXEL_LED) |
|
|
|
#define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW / NEO_GRB - four/three channel driver type (defined in Adafruit_NeoPixel.h)
|
|
|
|
//#define NEOPIXEL_PIN 4 // LED driving pin
|
|
|
|
//#define NEOPIXEL2_TYPE NEOPIXEL_TYPE
|
|
|
|
//#define NEOPIXEL2_PIN 5
|
|
|
|
#define NEOPIXEL_PIXELS 30 // Number of LEDs in the strip. (Longest strip when NEOPIXEL2_SEPARATE is disabled.)
|
|
|
|
#define NEOPIXEL_IS_SEQUENTIAL // Sequential display for temperature change - LED by LED. Disable to change all LEDs at once.
|
|
|
|
#define NEOPIXEL_BRIGHTNESS 127 // Initial brightness (0-255)
|
|
|
|
//#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
|
|
|
|
#define NEOPIXEL_TYPE NEO_GRBW // NEO_GRBW, NEO_RGBW, NEO_GRB, NEO_RBG, etc.
|
|
|
|
// See https://github.com/adafruit/Adafruit_NeoPixel/blob/master/Adafruit_NeoPixel.h
|
|
|
|
//#define NEOPIXEL_PIN 4 // LED driving pin
|
|
|
|
//#define NEOPIXEL2_TYPE NEOPIXEL_TYPE
|
|
|
|
//#define NEOPIXEL2_PIN 5
|
|
|
|
#define NEOPIXEL_PIXELS 30 // Number of LEDs in the strip. (Longest strip when NEOPIXEL2_SEPARATE is disabled.)
|
|
|
|
#define NEOPIXEL_IS_SEQUENTIAL // Sequential display for temperature change - LED by LED. Disable to change all LEDs at once.
|
|
|
|
#define NEOPIXEL_BRIGHTNESS 127 // Initial brightness (0-255)
|
|
|
|
//#define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup
|
|
|
|
|
|
|
|
// Support for second Adafruit NeoPixel LED driver controlled with M150 S1 ...
|
|
|
|
//#define NEOPIXEL2_SEPARATE
|
|
|
|
#if ENABLED(NEOPIXEL2_SEPARATE) |
|
|
|
#define NEOPIXEL2_PIXELS 15 // Number of LEDs in the second strip
|
|
|
|
#define NEOPIXEL2_BRIGHTNESS 127 // Initial brightness (0-255)
|
|
|
|
#define NEOPIXEL2_STARTUP_TEST // Cycle through colors at startup
|
|
|
|
#define NEOPIXEL2_PIXELS 15 // Number of LEDs in the second strip
|
|
|
|
#define NEOPIXEL2_BRIGHTNESS 127 // Initial brightness (0-255)
|
|
|
|
#define NEOPIXEL2_STARTUP_TEST // Cycle through colors at startup
|
|
|
|
#else |
|
|
|
//#define NEOPIXEL2_INSERIES // Default behavior is NeoPixel 2 in parallel
|
|
|
|
//#define NEOPIXEL2_INSERIES // Default behavior is NeoPixel 2 in parallel
|
|
|
|
#endif |
|
|
|
|
|
|
|
// Use some of the NeoPixel LEDs for static (background) lighting
|
|
|
|
//#define NEOPIXEL_BKGD_INDEX_FIRST 0 // Index of the first background LED
|
|
|
|
//#define NEOPIXEL_BKGD_INDEX_LAST 5 // Index of the last background LED
|
|
|
|
//#define NEOPIXEL_BKGD_INDEX_FIRST 0 // Index of the first background LED
|
|
|
|
//#define NEOPIXEL_BKGD_INDEX_LAST 5 // Index of the last background LED
|
|
|
|
//#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W
|
|
|
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
|
|
|
//#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off
|
|
|
|
#endif |
|
|
|
|
|
|
|
/**
|
|
|
|