diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-19 19:49:50 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-19 19:49:50 -0500 |
commit | a902f8994241fc2484af6241726fd3cfc6d7ddc5 (patch) | |
tree | 804c939be9f00fc190f717ac9c0314cabebd3293 | |
parent | 0e98a2544988b9e684eac3f79c953fce50cd4c0d (diff) |
Added examples for Light.SetColor
-rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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() } |