Chroma:setColor

From GiderosMobile
Revision as of 15:01, 27 June 2020 by Anthony (talk | contribs) (Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2020.6<br/> '''<translate>Class</translate>:''' chroma<br/> === <tr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Available since: Gideros 2020.6
Class: chroma

Description

Basically this sets the colour for the LED at x,y on the device. Multiple colours increment the x.

() = Chroma:setColor(device,x,y,colors,flush)

Parameters

keys: (text) Name of they key to set the colour of.
keys: (table) Table of key names to set the colour of.
colours: (number) BGR colour value.
colours: (table) Multiple BGR colour values.
flush: (bool) True to send the colours to the device, default false. optional

Return values