From 3726b05e1d41a2e707b7b37c2031a9fd4d72733d Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Wed, 5 Jul 2023 10:51:47 -0700 Subject: [PATCH] Updated Rgbw64Color object API (markdown) --- Rgbw64Color-object-API.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Rgbw64Color-object-API.md b/Rgbw64Color-object-API.md index 9b27205..73b2a85 100644 --- a/Rgbw64Color-object-API.md +++ b/Rgbw64Color-object-API.md @@ -141,4 +141,8 @@ This will blend between four colors by the amount defined by 2d weighting values The index operator allows accessing the R, G, B, and W properties using an index. There are both read only and read write versions. ``` uint16_t white = color[3]; +``` +You can also use the color index constants. +``` + uint16_t white = color[ColorIndexW]; ``` \ No newline at end of file