Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local monitor = peripheral.find("monitor")
- monitor.setCursorPos(1, 1)
- -- Set the top color
- monitor.setTextColor(colors.red)
- -- Set the bottom color
- monitor.setBackgroundColor(colors.green)
- -- "▄" will draw a green lower half and a red upper half
- monitor.write("\x8C")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement