feat(ezcoo): serial driver for EZCOO HDMI matrix

This commit is contained in:
2026-05-24 18:52:52 +03:00
parent e5dd77a00d
commit e99616a135
6 changed files with 256 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
package ezcoo
import "sync"
type State [2]int
type Device struct {
cfg Config
cmds chan string
mu sync.RWMutex
current State
}
func NewDevice(cfg Config) *Device {
return &Device{
cfg: cfg,
cmds: make(chan string, 8),
}
}