setup the skeletal structure for Eq, Comp and Gate.

implement strip/bus eq on commands.
This commit is contained in:
2026-02-01 15:09:38 +00:00
parent c4a86adf14
commit 89ab8ee258
7 changed files with 239 additions and 12 deletions

View File

@@ -4,13 +4,17 @@ import "fmt"
type Bus struct {
baseAddress string
client Client
client *Client
Eq *Eq
Comp *Comp
}
func NewBus(c Client) *Bus {
func NewBus(c *Client) *Bus {
return &Bus{
baseAddress: c.addressMap["bus"],
client: c,
Eq: newEqForBus(c),
Comp: newCompForBus(c),
}
}