Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

(ServerAPI) FADECOLOR Method

Kristian Skov edited this page Oct 1, 2018 · 1 revision

Up to date as of version 1.6

Description

This command can be used to make the LEDs fade.

Syntax

FADECOLOR(bool FromZero, int FromID, int ToID, int R, int G, int B, int FadeSpeed, int FadeFactor)

Parameters

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)

Return value

None

Clone this wiki locally