initial commit
This commit is contained in:
7
bricks/special/EventGate-input.lua
Normal file
7
bricks/special/EventGate-input.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
-- 2020-03-30
|
||||
-- Requirement change: The gate's output will now depend only on the event, and not carry the input at all
|
||||
|
||||
return function(gate, argv)
|
||||
gate.ports[2]:setstate(toboolean(argv[1]))
|
||||
end
|
||||
Reference in New Issue
Block a user