blob: 2c3be24bc4a6446aa775624ba45f7bfac7d06f79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
local ps={peripheral.find"redstone_integrator"}
local function set(v)
for _,v in ipairs(ps) do
v.setOutput("top",v)
end
while true do
set(true)
os.sleep(2)
set(false)
os.sleep(2)
end
|