Advertisement
rungholt

resetMon

May 16th, 2022
1,062
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local attachedMonitor = peripheral.find("monitor")
  2.  
  3. local function resetMon()
  4.     attachedMonitor.clear()
  5.     attachedMonitor.setBackgroundColor(colors.black)
  6.     attachedMonitor.setTextColor(colors.white)
  7. end
  8.  
  9. resetMon()
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement