From 198277afc2f107b623fadabd7c146b9152dab4b1 Mon Sep 17 00:00:00 2001 From: "navid.sassan" Date: Fri, 2 Apr 2021 16:34:48 +0200 Subject: [PATCH] testing --- energy_control | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/energy_control b/energy_control index 61ee3ae..e323637 100644 --- a/energy_control +++ b/energy_control @@ -45,8 +45,8 @@ end function draw_screen() while true do - -- term.clear() - -- term.setCursorPos(0, 0) + term.clear() + term.setCursorPos(0, 0) term.setTextColor(colors.white) term.setBackgroundColor(colors.black) print('Press "R" to toggle the rainbows') @@ -58,8 +58,9 @@ function draw_screen() term.setBackgroundColor(colors.red) term.write('Off') end + print() term.setBackgroundColor(colors.black) - sleep(0.5) + sleep(3) end end