Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --print("a")
- while true do
- sleep(0)
- local turbine
- turbine= peripheral.wrap("back")
- local speed = turbine.getRotorSpeed()
- if speed > 1750 then
- turbine.setInductorEngaged(true)
- else
- turbine.setInductorEngaged(false)
- end
- print(speed)
- sleep(1)
- --print("b")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement