@@ -220,6 +220,16 @@ class LEDController : public ILEDController {
220
220
*/
221
221
virtual void setLEDExternalTemperature (uint8_t channel, uint16_t temp) = 0;
222
222
virtual bool setLEDGroup (uint8_t channel, uint8_t groupIndex, LEDGroup& group);
223
+ /* *
224
+ * Set the LED color values for one color-channel (red, green or blue) of the given channel.
225
+ *
226
+ * @param channel the channel index
227
+ * @param color the color index to set the values for red(0), green(1), blue(2)
228
+ * @param offset the offset in the LED colors buffer to write to
229
+ * @param values the array of values to write
230
+ * @param len the length of the array of values to write
231
+ * @see clearLEDColorValues()
232
+ */
223
233
virtual void setLEDColorValues (uint8_t channel, uint8_t color, uint8_t offset, const uint8_t * values,
224
234
size_t len) = 0;
225
235
/* *
@@ -246,6 +256,12 @@ class LEDController : public ILEDController {
246
256
* @return true if the port type was changed
247
257
*/
248
258
virtual bool setLEDPortType (uint8_t channel, PortType ledPortType);
259
+ /* *
260
+ * Clear the LED color buffer for the given channel.
261
+ *
262
+ * @param channel the channel index
263
+ * @see setLEDColorValues()
264
+ */
249
265
virtual void clearLEDColorValues (uint8_t channel) = 0;
250
266
virtual bool clearLEDGroups (uint8_t channel);
251
267
virtual bool save () = 0;
0 commit comments