I've some problems making a Countdown timer.
local mon = peripheral.wrap("top")
mon.clear()
local i = 1
local j = 20
repeat
if i > 0 then
if j > 0 then
j = j - 1
else
j = 59
i = i - 1
end
else
if j > 0 then
j = j - 1
end
local seconds = ""..j
if j < 10 then
seconds = "0"..j
end
end
mon.setTextScale(5)
mon.clear()
mon.setCursorPos(2,1)
mon.write(i..":"..j)
sleep(1)
until i == 0 and j == 0
But under the 10 seconds you get this:

But I want 00:07 ect and not 0:7
Last question if you can make a thing, so you can place a redstone signal from the back so you can reset it and start it when the redstone is powered.
Many thanks












