testing
This commit is contained in:
parent
7499119ac9
commit
198277afc2
@ -45,8 +45,8 @@ end
|
|||||||
|
|
||||||
function draw_screen()
|
function draw_screen()
|
||||||
while true do
|
while true do
|
||||||
-- term.clear()
|
term.clear()
|
||||||
-- term.setCursorPos(0, 0)
|
term.setCursorPos(0, 0)
|
||||||
term.setTextColor(colors.white)
|
term.setTextColor(colors.white)
|
||||||
term.setBackgroundColor(colors.black)
|
term.setBackgroundColor(colors.black)
|
||||||
print('Press "R" to toggle the rainbows')
|
print('Press "R" to toggle the rainbows')
|
||||||
@ -58,8 +58,9 @@ function draw_screen()
|
|||||||
term.setBackgroundColor(colors.red)
|
term.setBackgroundColor(colors.red)
|
||||||
term.write('Off')
|
term.write('Off')
|
||||||
end
|
end
|
||||||
|
print()
|
||||||
term.setBackgroundColor(colors.black)
|
term.setBackgroundColor(colors.black)
|
||||||
sleep(0.5)
|
sleep(3)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user