Jacques ROBERT
Senior Member
Bonjour, qui peut me dire la durée d'éxécution du programme suivant ,jusqu'au premier "goto main
init:setfreq m32
main:
pulsin C.3,1,w2
pulsin C.2,1,w1
if w2 < 1150 then trd
if w2 > 1250 then trg
pulsout B.2,w1
pulsout B.4,w1
goto main
trd:
pulsout B.2,800
pulsout B.4,w1
trg:
pulsout B.2,w1
pulsout B.4,800
goto main
éxécuté avec un 14 M 2 .merci d'avance.
init:setfreq m32
main:
pulsin C.3,1,w2
pulsin C.2,1,w1
if w2 < 1150 then trd
if w2 > 1250 then trg
pulsout B.2,w1
pulsout B.4,w1
goto main
trd:
pulsout B.2,800
pulsout B.4,w1
trg:
pulsout B.2,w1
pulsout B.4,800
goto main
éxécuté avec un 14 M 2 .merci d'avance.