mirror of
https://github.com/gosticks/go-hue-interface.git
synced 2025-10-16 11:45:35 +00:00
cleanup
This commit is contained in:
parent
d43b434884
commit
b33ccbaf8a
6
main.go
6
main.go
@ -2,9 +2,7 @@ package hue
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"time"
|
||||
|
||||
)
|
||||
|
||||
const VERSION = "0.1.2"
|
||||
@ -26,13 +24,9 @@ func main() {
|
||||
// if errCom != nil {
|
||||
// fmt.Println("[ERROR]" + errCom.Error())
|
||||
// }
|
||||
//tickSwitch(bridge)
|
||||
testLightBulb(bridge)
|
||||
select {}
|
||||
//fmt.Println(test)
|
||||
}
|
||||
|
||||
|
||||
func strobeLight(b *Bridge, id string) {
|
||||
ticker := time.NewTicker(200 * time.Millisecond)
|
||||
quit := make(chan struct{})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user