Strange happenings PBP and 12F683


Results 1 to 15 of 15

Threaded View

  1. #11
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Hi, Russ

    If the key is stuck or still held down, I want further execution to stop until the key is released.
    generally, I do that :

    Code:
    '********************************************************************
    ' Test Sélection
    '********************************************************************
    
    Delay	= 0
    BUTTON Selection,0,255,0,Delay,1,Wait1     ' button pressed pulls to ground
    	
    	GOTO Affichage                          ' or Wherever you want, if no press ! 
                                                                ' rem: NO DELAY if test = 0 !!! 
    	
    Wait1:                                                   ' Wait for release
    
    	Delay = 0
    	BUTTON Selection,0,255,0,Delay,1,Wait1
    
    	GOTO Affichage                          ' Here, we continue ONLY if Button has been released ...
    .
    .
    .
    Alain
    Last edited by Acetronics2; - 7th February 2009 at 09:07.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. How to use LM34 to full range with PBP
    By polymer52 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 9th January 2010, 13:43
  2. New to PBP
    By GoldStar in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 12th May 2009, 16:24
  3. New project help rapidfire on 12f683
    By thm ov3rkill in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 27th December 2008, 19:59
  4. 12F683 HPWM Usage
    By MARAD75 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th November 2007, 02:16
  5. upgrade to PBP 2.46 and using 12F683
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd March 2005, 07:13

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