Button


Closed Thread
Results 1 to 6 of 6

Thread: Button

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302


    Did you find this post helpful? Yes | No

    Default

    Thank you.Your code help me to solve my problem.
    I use this code:
    Code:
       	if PORTB.5 = 1 then
            while (PORTB.5 = 1) and (Delay < 1000)
                menu = 6
                pause 1     
                delay = delay + 1
                wend
            if  delay < 1000 then
                delay = 0
                GOTO MAIN
            else
                delay = 0
                WRITE W1, TMP_LO		   
    	        WRITE W1+1, TMP_HI			
    	        LCDOUT $FE, 1, "     STORE    " 
    	        PAUSE 1000
    	        menu = 2
    	        GOTO MAIN
            endif
        endif

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Good, enjoy!

    and mmm... παρακαλώ!
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Sony SIRC IR Issue
    By Ryan7777 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 8th August 2015, 08:10
  2. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43
  3. Code check -- button not working
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 2nd March 2006, 22:43
  4. Button Push within 3 second Window
    By Tissy in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 22nd December 2005, 10:06
  5. Button subfunction 16F628
    By Jųan in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 19th August 2005, 16:44

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