MCPcopy 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
527func (b *BusOne) SetInputWire(index int, value bool) {
528 b.inputs[index].Update(value)
529}
530
531func (b *BusOne) Enable() {
532 b.bus1.Update(true)

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected