aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCollin Guarino <collin.guarino@gmail.com>2016-02-24 19:39:10 -0500
committerCollin Guarino <collin.guarino@gmail.com>2016-02-24 19:39:10 -0500
commit8ec7808b6aab7ee830b4f9eb49b82da3335245d3 (patch)
tree6145c7d25e47bbbbd07d4eadecd4a224a92bba06
parent1ed1083ed0408bf1e7eae5516c36038c75154b3f (diff)
Added example for light.SetBrightness to readme.
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index aaf5e81..fddebd3 100644
--- a/README.md
+++ b/README.md
@@ -21,6 +21,7 @@ func main() {
lights, _ := bridge.GetAllLights()
for _, light := range lights {
light.On()
+ light.SetBrightness(100)
light.ColorLoop(true)
}