local p = assert((peripheral.find"ender_storage")) -- local function clamp(x, min, max) -- if x < min then return min -- else if x > max then return max -- else return x -- end -- end -- local function setnums() -- local fp = fs.open("/efreq.dat") -- local function getnums() -- local fp = fs.open("/efreq.dat") -- if not fp then -- setnums(0,0,0) -- return 0,0,0 -- else -- local s = fp.readAll() -- fp.close() -- return unpack(strutil.splitw(s)) -- end -- end for x=1,16 do for y=1,16 do for z=1,16 do p.setFrequency(2^x, 2^y, 2^z) local name = p.getName() if name ~= nil then print(x,y,z,name) end end end end