Posted 18 June 2013 - 05:26 PM
How can I get this to stop
It is stopping with the message "Too long without yielding"
It is stopping with the message "Too long without yielding"
local mon = peripheral.wrap("top")
p = peripheral.wrap("bottom")
while true do
PR = p.getEnergyReceive()
PS = p.getEnergySend()
PL = p.getPowerProvider()
mon.clear()
mon.setCursorPos(1,1)
mon.write("Receives: "..PR)
cY = 2
mon.setCursorPos(1,cY)
mon.write("Sends: "..PS)
cY = 3
mon.setCursorPos(1,cY)
mon.write("Energy: "..PL.energyStored)
end