testing
This commit is contained in:
parent
10fa054844
commit
2c7d119400
@ -51,19 +51,19 @@ function recv()
|
||||
term.setCursorPos(1, 1)
|
||||
term.setTextColor(colors.white)
|
||||
term.setBackgroundColor(colors.black)
|
||||
write('Press "R" to toggle the rainbows\n')
|
||||
write('Press "R" to toggle the rainbows.\n')
|
||||
-- xPos, yPos = term.getCursorPos()
|
||||
-- term.setCursorPos(1,(yPos + 1))
|
||||
term.write('Rainbows state: ')
|
||||
if redstone_toggle_state == true then
|
||||
term.setBackgroundColor(colors.green)
|
||||
term.write('On')
|
||||
write('On')
|
||||
elseif redstone_toggle_state == false then
|
||||
term.setBackgroundColor(colors.red)
|
||||
term.write('Off')
|
||||
write('Off')
|
||||
elseif redstone_toggle_state == nil then
|
||||
term.setBackgroundColor(colors.purple)
|
||||
term.write('Unknown')
|
||||
write('Unknown')
|
||||
end
|
||||
print()
|
||||
term.setBackgroundColor(colors.black)
|
||||
|
Loading…
x
Reference in New Issue
Block a user