Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tpt.set_console(0)
- function CWE()
- local author = "EditorRUS"
- local channel = 0
- local kelvintemp = -273.5
- local xposw = 1
- local yposw = 1
- local xposp = 2
- local yposp = 2
- for i = 0,i<8 do
- for j = 0, j<12 do
- tpt.create(xposw, yposw, "WIFI")
- tpt.set_property("temp", (channel * 100 + kelvintemp), xposw, yposw)
- xposw = xposw + 2
- end
- y = y + 2
- end
- for i = 0, i<7 do
- for j = 0, j<11 do
- tpt.create(xposp, yposp, "PSCN")
- xposp = xposp + 2
- end
- yposp = yposp + 2
- end
- tpt.unregister_step(CWE)
- end
- tpt.register_step(CWE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement