Nightlight function (gradually dims down).Presets can be used to automatically execute API calls.Up to 250 user presets to save and load colors/effects easily, supports cycling through them.Access Point and station mode - automatic failsafe AP.Settings page - configuration via the network.Segments to set different effects and colors to user defined parts of the LED string.Modern UI with color, effect and segment controls.WS2812FX library with more than 100 special effects.StepRandom: this steps betweens random colours at a set speeds.A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control NeoPixel (WS2812B, WS2811, SK6812) LEDs or also SPI based chipsets like the WS2801 and APA102! ⚙️ Features.Step2: this steps betweens all colours at a set speed.Step1: this steps betweens Red, Green and blue colours at a set speed.FadeRandom: this fades betweens random colours at a set speeds.Fade: this fades betweens Red, Green and blue colours at a set speed.Random: this randomly fades betweens random colours at random speeds.This delay will continue to process the run() function. This function is used in replacement of Delay(). This will stop all current fading and freeze the colour. This function runs the calculates and the controls the PWM for the LED. This function is required to run as much as possible. This checks if the fade as finished and returns true when finished COMMANDS void run() This will return the current functions step count. This will return the current Green value. This will return the current set function. ![]() This will return the current fade percent of completion. This will return the current set speed in milliseconds. The speedValue is in milliseconds and is used from the start to the finish of the fade. The colour can be chosen from the colours list below. This will make the LED fade to a selected colour with a selected fade speed. void fadeToColour(byte colour,unsigned long speedValue) This will set the LED to a selected colour. This will make the LED fade to a random colour with a random fade speed. All the LED's colour functions are listed below under Colour Functions void setRandom() This function is used to select a LED colour function. 0 is the LED completely off, 255 is the LED Completely on and all values between is a PWM percent. These Rvalue, Gvalue and Bvalue Byte variables are the values between 0 and 255. Rvalue, Gvalue and Bvalue are used to set the RGB colour and speedValue is used to set the fade speed. This function is used to fade from the current set colour to a RGB colour at a speed. void fadeTo(byte Rvalue,byte Gvalue,byte Bvalue,unsigned long speedValue) If the FadeValue is set to be 0.5 at 1000 speed the fade would continue from 50%. ![]() This Functions sets the speed of fades and the speed of colour functions. These RGB Byte variables are the values between 0 and 255. Rvalue, Gvalue and Bvalue are used to set the RGB colour. SET void set(byte Rvalue,byte Gvalue,byte Bvalue) ![]() pinR, pinG and pinB is where the PWM pin numbers are placed. This is the setup for the class, this is where the pins are declared for the RGB LED. Functions SETUP RGB_LED(byte pinR,byte pinG,byte pinB)
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |