Hi Blackhawk,

When will B3 be '0'?

As long as it is '1' it will keep beeping.

To make it as you need, assign a flag variable to B3, and based on the flag status you can have your beep. This way, even if B3 is still 1, you can control your beeping as you like.


---------------------------