Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
interrupt(0.5, "loop")
if mem.count == nil then
mem.count = 0
end
if event.iid == "loop" then
mem.count = mem.count + 1
if mem.count == 10 then
port.c = true
mem.count = 0
else
port.c = false
end
end
Any help figuring this one out greatly appreciated!