From 2fa5ff83284f66f7ebccb87cf7ef9efc459f49c4 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Wed, 5 Jul 2023 10:53:07 -0700 Subject: [PATCH] Updated Rgb48Color object API (markdown) --- Rgb48Color-object-API.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Rgb48Color-object-API.md b/Rgb48Color-object-API.md index 5fc2dce..648554e 100644 --- a/Rgb48Color-object-API.md +++ b/Rgb48Color-object-API.md @@ -142,4 +142,8 @@ This will blend between four colors by the amount defined by 2d weighting values The index operator allows accessing the R, G, and B properties using an index. There are both read only and read write versions. ``` uint16_t green = color[1]; +``` +You can also use the color index constants. +``` + uint16_t green = color[ColorIndexG]; ``` \ No newline at end of file