Push button on PIC16F887


Results 1 to 22 of 22

Threaded View

  1. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by menta View Post
    I have the PICkit 2 express debug
    I'm having problems with getting the push button switch.
    Can someone post a code for getting the button pressed?

    Thanks.
    There is code for that type of thing right on the CD that came with the package; ready made; ready to be sent directly to the board.

    Code to press button:
    1) Note position of hand.
    2) Hold hand in mid air.
    3) Extend one finger.
    4) Aim for button on PICKit2 Express circuit board.
    5) Close distance between finger tip and button on PICKit2 Express circuit board.
    6) Continue to close distance until contact is made between fingertip and aforementioned circuit board.
    7) After contact is made, depress said button.
    8) Continue to depress button until decision is made to release button.
    9) Upon release decision, retract said fingertip until contact is no longer maintained.
    10) Further position fingertip to a comfortable distance from button.
    11) Retract one finger.
    12 ) Replace hand to position noted in step 1.

    That should just about do it.
    Did I forget anything?
    Last edited by skimask; - 20th June 2008 at 22:09.

Similar Threads

  1. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43
  2. Code check -- button not working
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 2nd March 2006, 22:43
  3. Button Push within 3 second Window
    By Tissy in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 22nd December 2005, 10:06
  4. push button problem
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd June 2005, 19:44
  5. Push Button 'Menu' to Choose Variable.
    By Tissy in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th March 2005, 07:00

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