Difference between revisions of "Chroma:setColor"
From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2020.6<br/> '''<translate>Class</translate>:''' chroma<br/> === <tr...") |
m (Anthony moved page Chroma.setColor to Chroma:setColor without leaving a redirect) |
(No difference)
|
Revision as of 14:23, 27 June 2020
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