Code entering endless loop


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    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.


    ---------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  2. #2
    Blackhawk's Avatar
    Blackhawk Guest


    Did you find this post helpful? Yes | No

    Default

    The problem is not B3 and the beep routine though, the endless loop goes between the start and delay routines (controlled by B4).

Similar Threads

  1. Help with Pic Delay Pulse code please
    By g7jiq in forum mel PIC BASIC Pro
    Replies: 36
    Last Post: - 17th April 2009, 19:19
  2. Help with Pic Delay code mod please
    By g7jiq in forum General
    Replies: 1
    Last Post: - 26th March 2009, 01:06
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 09:26
  4. Help with LCD commands with button I/P
    By g7jiq in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 9th January 2008, 11:57
  5. help optimising code
    By Darrenmac in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 26th March 2007, 11:27

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts