Chroma:setColor
From GiderosMobile
Revision as of 14:23, 27 June 2020 by Anthony (talk | contribs) (Anthony moved page Chroma.setColor to Chroma:setColor without leaving a redirect)
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