Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("top")
- mon.setTextScale(0.5)
- mon.setCursorPos(1,1)
- mon.clear()
- while true do
- mon.clear()
- mon.setCursorPos(1,1)
- rsState = rs.getBundledInput("front")
- mon.setBackgroundColor(rsState)
- sleep(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement