Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("bottom")
- fOn = "Fusion 1 ON"
- fOff = "Fusion 1 OFF"
- while true do
- if redstone.getInput("top") then
- mon.setCursorPos(1,2)
- mon.setTextScale(1.5)
- mon.setBackgroundColor(colors.green)
- mon.setTextColor(colors.white)
- mon.clear()
- mon.write(fOn)
- else
- mon.setCursorPos(1,2)
- mon.setTextScale(1.5)
- mon.setBackgroundColor(colors.red)
- mon.setTextColor(colors.white)
- mon.clear()
- mon.write(fOff)
- end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement