Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: amgen; Keyword(s):

Search: Search took 0.00 seconds.

  1. Re: Using same button for entering/exiting some part of code?

    if there is room, you could put some 'temporary' code to serout or debug at a few locations and see where it isn't doing what is expected ! looks like there are quite a number of 'states' your...
  2. Re: Using same button for entering/exiting some part of code?

    debounce button check... and instead of while-wend .... use for/next pause here is 2 second check so if holding button > 2 seconds, can advance MENUitem then check again for release


    HERE:
    IF...
  3. Re: Using same button for entering/exiting some part of code?

    read switch a few times to be sure and debounce......

    IF UPBT=0 THEN
    PAUSE 20 ' or 40 or 50
    IF UPBT=0 THEN 'go ahead........

    MENUITEM = MENUITEM+1

    do same for release check...
  4. Re: Using same button for entering/exiting some part of code?

    my experience with button press usage is to have to wait for button release, can either stay in present routine and wait before switching OR moving to other routine and wait for release before...
  5. Re: Using same button for entering/exiting some part of code?

    I made a multi-function timer that deals with that and does different things according to how long sw is pressed ( and improved it to a touch sw using a/d)...... simply loops through routines using...
Results 1 to 5 of 5