I have simply script:
while true do
if DI(15)==1 then
…and the problem is when I press button on Input 15 the script run 2 or 3 or 4 times.
What is wrong? I need when I press button script must run only once.
…sorry for my english