This repository has been archived by the owner on Dec 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
(ServerAPI) FADECOLOR Method
Kristian Skov edited this page Oct 1, 2018
·
1 revision
Up to date as of version 1.6
This command can be used to make the LEDs fade.
FADECOLOR(bool FromZero, int FromID, int ToID, int R, int G, int B, int FadeSpeed, int FadeFactor)
bool FromZero: If the program is to first set the LEDs to RGB code 0 0 0, before sending the desired colors
int FromID: From what Software ID to start from
int ToID: To what Software ID to go to
int R: The color code for Red (0-255)
int G: The color code for Green (0-255)
int B: The color code for Blue (0-255)
int FadeSpeed: The speed in ms it takes for each color jump (see the Fade Colors section for more info)
int FadeFactor: The factor of how hard to make each color jump (the value 10 would be equal to a fade factor of 0.1) (see the Fade Colors section for more info)
None
Kristian Skov Johansen 2018