How to create 6 buttons?


Closed Thread
Results 1 to 11 of 11

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: How to create 6 buttons?

    Check the default interrupt edge....that's not what you need

    INTCON2
    Steve

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

  2. #2
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223


    Did you find this post helpful? Yes | No

    Default Re: How to create 6 buttons?

    Hi mister_e,
    Thanks for the time responding...I think the default is INTCON2.6 = 1 so I need to make INTCON2.6 = 0 'interupt on falling edge.
    But either one for me is not working on my setup.

    regards,
    tacbanon

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


    Did you find this post helpful? Yes | No

    Default Re: How to create 6 buttons?

    Have you tried with real hardware or your life depends on How proteus decide to work (assuming it works at all)

    From your schematic you're using led instead of diode and i'm pretty confident proteus is not smart enough to understand this.
    Steve

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

  4. #4
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: How to create 6 buttons?

    Maybe problem is in D1 - D6.
    Check state of int pin when you press button...
    It square on INT0 should be blue if button is pressed...
    If that isn't case, replace D1 - D6 with 1N4148.

  5. #5
    Join Date
    Jun 2011
    Location
    Philippines
    Posts
    223


    Did you find this post helpful? Yes | No

    Default Re: How to create 6 buttons?(SOLVED)

    Thank you pedja089 and mister_e...I got it now.

    /tacbanon

Similar Threads

  1. 12F683 + buttons
    By sincity337 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th October 2010, 19:53
  2. Buttons
    By WarPony in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 16th May 2008, 01:47
  3. 6 Buttons
    By Johansch in forum General
    Replies: 3
    Last Post: - 4th July 2007, 15:21
  4. Buttons are driving me nuts
    By Doormatt in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st May 2007, 23:09
  5. Latched buttons
    By peu in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 25th January 2006, 00:22

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