MCPcopy Create free account
hub / github.com/djhworld/simple-computer / SetInputWire

Method SetInputWire

components/components.go:77–79  ·  view source on GitHub ↗
(index int, value bool)

Source from the content-addressed store, hash-verified

75}
76
77func (l *LeftShifter) SetInputWire(index int, value bool) {
78 l.inputs[index].Update(value)
79}
80
81func (l *LeftShifter) ShiftOut() bool {
82 return l.shiftOut.Get()

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected