View difference between Paste ID: fduhYiJK and vC9S9HCt
SHOW: | | - or go back to the newest paste.
1
clear = peripheral.call("right", "clear")
2
size = peripheral.call("right", "getSize")
3
color = peripheral.call("right", "setTextColor")
4-
print(size)
4+
bcolor = peripheral.call("right", "setBackgroundColor")
5
6
print("you can")
7
print("clear screen by type clear")
8
print("get screen size by type size")
9
print("set text color by type color")
10
print("set background color by type bcolor")
11
12
op = io.read()
13
14
if op == "clear" then
15
   print(clear")
16
end