aboutsummaryrefslogtreecommitdiff
path: root/cmd/blinkstick/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/blinkstick/main.go')
-rw-r--r--cmd/blinkstick/main.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/blinkstick/main.go b/cmd/blinkstick/main.go
index 8d2aa42..2527aa7 100644
--- a/cmd/blinkstick/main.go
+++ b/cmd/blinkstick/main.go
@@ -38,6 +38,7 @@ func main() {
defer blinkstick.Off(dev)
+ /* XXX
pal := []color.Color{
color.YCbCr{0x1f, 0x00, 0xff}, // red
color.YCbCr{0x3f, 0x00, 0xbf}, // yellow
@@ -52,4 +53,10 @@ func main() {
time.Sleep(time.Second / 2)
}
}
+ */
+ for i := 0; ; i++ {
+ f := newTwiddle(i, color.White)
+ blinkstick.Set(dev, f)
+ time.Sleep(time.Second / 14)
+ }
}