aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0a604f1..aaf5e81 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,10 @@ func main() {
nightstandLight.Blink(5)
nightstandLight.SetName("Bedroom Lamp")
+ lights[0].SetColor(hue.RED)
+ lights[1].SetColor(hue.BLUE)
+ lights[2].SetColor(hue.GREEN)
+
for _, light := range lights {
light.Off()
}