summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-01 22:33:39 +0100
committerubq323 <ubq323@ubq323.website>2024-04-01 22:33:39 +0100
commit4eeb14050c39bfb27a388a6c0f46446d576163d5 (patch)
treea73caaa878803345eda46e8cedef3c579086d5e6
parent38c83a655e5f013dfc1c680aff18ea3360d22367 (diff)
launch echest
-rw-r--r--echest.lua5
1 files changed, 2 insertions, 3 deletions
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