From 4eeb14050c39bfb27a388a6c0f46446d576163d5 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 1 Apr 2024 22:33:39 +0100 Subject: launch echest --- echest.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'echest.lua') diff --git a/echest.lua b/echest.lua index 6a769ff..26a8577 100644 --- a/echest.lua +++ b/echest.lua @@ -28,11 +28,10 @@ for x=0,15 do for y=0,15 do for z=0,15 do term.clearLine() local _,line = term.getCursorPos() term.setCursorPos(1,line) - io.write(("%d %d %d "):format(x,y,z)) + term.write(("%d %d %d "):format(x,y,z)) p.setFrequency(2^x, 2^y, 2^z) local name = p.getName() if name ~= nil then - print(name) + term.write(name.."\n") end - os.sleep(0.1) end end end -- cgit v1.2.3