//====================================================== // NEO PIXEL LED STRIP //====================================================== // PUBLIC DEFINITIONS //------------------------------------------------------ #define BETWEEN_FADE 15 #define FADE_RATE 15 #define BLINK_RATE 250 #define ColorSaturation 128 //------------------------------------------------------ // Clearing The LED Strip //------------------------------------------------------ void LED_CLEAR() { // Clear The Strip Color PIXEL_STRIP.clear(); // Show On LED Strip LED_SHOW(); } //------------------------------------------------------ // DISPLAY ON STRIP //------------------------------------------------------ void LED_SHOW() { // Pass It To The LED Strip PIXEL_STRIP.show(); } //------------------------------------------------------ // Set LED Brightness //------------------------------------------------------ void LED_SET_BRIGHTNESS(uint8_t Value) { // Set The Brightness PIXEL_STRIP.setBrightness(Value); } //------------------------------------------------------ // Set LED Color //------------------------------------------------------ void LED_SET_COLOR(uint8_t R, uint8_t G, uint8_t B, uint8_t Intensity) { // Set Intensity LED_SET_BRIGHTNESS(Intensity); // Loop for(int i=0; i=0; i--) { PIXEL_STRIP.setBrightness(i); for(int j=0; j