From 1b25ef40dbb675c631f9042eb8681856a2bd3ea6 Mon Sep 17 00:00:00 2001 From: lordwelch Date: Mon, 6 Nov 2017 23:00:02 -0700 Subject: [PATCH] Debug --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 6f4193f..34a5067 100644 --- a/main.go +++ b/main.go @@ -40,6 +40,8 @@ const ( func Press(press [8]byte, file io.Writer) { binary.Write(file, binary.BigEndian, press[:]) binary.Write(file, binary.BigEndian, [8]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}) + fmt.Println(press) + fmt.Println([8]byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}) } func Hold(press [8]byte, file io.Writer) {