Brick_LuaLogic/bricks/outputs/pixel3-update.lua

5 lines
72 B
Lua

return function(gate)
gate:cb(gate.ports[1].state and 1 or 0)
end