From 03d8d97ce9a3468b060e462f8480a36a76956415 Mon Sep 17 00:00:00 2001 From: Collin Guarino Date: Sun, 14 Feb 2016 23:20:19 -0500 Subject: Documentation links for philips hue website to official docs added to all file headers. --- light.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'light.go') diff --git a/light.go b/light.go index 6866b38..05e270a 100644 --- a/light.go +++ b/light.go @@ -4,8 +4,8 @@ * Copyright (C) 2016 Collin Guarino (Collinux) collin.guarino@gmail.com * License: GPL version 2 or higher http://www.gnu.org/licenses/gpl.html */ - // http://www.developers.meethue.com/documentation/lights-api + package hue import ( @@ -113,7 +113,8 @@ func (self *Light) Blink(seconds int) error { blinkMax := LightState{On: true, Bri: uint8(200)} blinkMin := LightState{On: true, Bri: uint8(50)} - // Toggle the light on and off + // Start with near maximum brightness and toggle between that and + // a lesser brightness to create a blinking effect. err := self.SetState(blinkMax) if err != nil { return err -- cgit v1.2.3