looping a program with a pir sensor
Palan
Posts: 1
Hello,
i'm trying to loop existing program that is working well. I'm adding a PIR sensor to it in order to make the motors working just when there is someone around.
My problem is that the existing program already use the ''debug dec,cr'' command so I don't understand how to insert it for the looping ?
Is my questionmaking sense for someone ?
thank you
palan
i'm trying to loop existing program that is working well. I'm adding a PIR sensor to it in order to make the motors working just when there is someone around.
My problem is that the existing program already use the ''debug dec,cr'' command so I don't understand how to insert it for the looping ?
Is my questionmaking sense for someone ?
thank you
palan
Comments
[code]
.
.
.
DEBUG DEC IN6,TAB, DEC IN7, TAB, DEC device, TAB,DEC setting, TAB, DEC temps,CR
' sache que les instructions DEBUG prennent un certain temps