Search Results - MEL PICBASIC Forum


Search:

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

Search: Search took 0.01 seconds.

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

    Thanks everyone. I've modified that code in the way that it now works - there is additional check for MENUITEM value inside a button press loop, but the question is still active - why the code above...
  2. Re: Using same button for entering/exiting some part of code?

    I tried to reduce PAUSE 200 to 20 or even 2 - no change.
  3. Re: Using same button for entering/exiting some part of code?

    For couple of buttons this code works fine, but when I increase number of button handling operations, some weird things occur - the further from beginning is the button handling routine, more rarely...
  4. Re: Using same button for entering/exiting some part of code?

    Here is the practical code I'm using, but it sometimes behaves strangely.
    Say, button was pressed, action was made once, user still holds button, so no advance in code. But when user releases the...
  5. Re: Using same button for entering/exiting some part of code?

    Thanks!
    No problem for code to "Hang", since this is for going from main menu to sub-menu and back.
  6. Re: Using same button for entering/exiting some part of code?

    I think, there is some misunderstanding.

    Here what I need



    code1:
    if button=0 then goto code2
    'somecode here
    goto code1
  7. Using same button for entering/exiting some part of code?

    Hello. This might sound simple, but I can't find the reliable solution.

    Say I have button, input pin, which is tied to VDD via 10K resistor.
    Pressing button pulls input pin down.

    There is in...
Results 1 to 7 of 7