Code:
Alarm:
for I= 0 to 9
high doorbell
pause 100
low doorbell
next I
return
but a pause is missing !
This one works as expected and is shorter...
Code:
Alarm: ' supposing Doorbell is low at start
for I= 0 to 9
toggle doorbell
pause 100
next I
return