Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ SetInputWire
Method
SetInputWire
components/components.go:527–529 ·
view source on GitHub ↗
(index int, value bool)
Source
from the content-addressed store, hash-verified
525
}
526
527
func
(b *BusOne) SetInputWire(index int, value bool) {
528
b.inputs[index].Update(value)
529
}
530
531
func
(b *BusOne) Enable() {
532
b.bus1.Update(true)
Callers
nothing calls this directly
Calls
1
Update
Method · 0.65
Tested by
no test coverage detected