From 1c7fe407c605cd72f147c7f980cd074cc4bc9f1b Mon Sep 17 00:00:00 2001 From: Patrick Stebbe Date: Sun, 2 May 2021 15:23:19 +0200 Subject: [PATCH] fix: color change command bitmask Related to #2 --- pkg/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller.go b/pkg/controller.go index 4ef98a5..dd28474 100644 --- a/pkg/controller.go +++ b/pkg/controller.go @@ -21,7 +21,7 @@ func New(ip net.IP, port uint16) (*Controller, error) { command: command{ on: []byte{0x71, 0x23, 0x94}, off: []byte{0x71, 0x24, 0x95}, - color: []byte{0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, + color: []byte{0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f}, state: []byte{0x81, 0x8a, 0x8b, 0x96}, }, }