Brick_LuaLogic/bricks/outputs/pixel3-update.lua

5 lines
85 B
Lua

return function(gate)
Gate.cb(gate, Gate.getportstate(gate, 1) and 1 or 0)
end