How to Read 6 Inputs anytime ?


Results 1 to 10 of 10

Threaded View

  1. #5
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    So, you do not need a "change" on the pins.

    You have buttons and they can only be pressed, right?

    "Change" means =>
    If the button is pressed, there is a change. While the button is being pressed, there is no change.
    If the button is released, there is also a change.


    Are you sure you need interrupt to do this? any particular reason? Many people can solve their issues without using interrupt; simple pin readings can be more then good enough. This may be true in your case, may be.

    You may want to check the status of a port for all six pins.
    Last edited by sayzer; - 19th February 2008 at 15:52.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 07:14
  2. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 11:20
  3. Changing declared variables names on the fly
    By jessey in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 16th December 2006, 06:34
  4. Real Time Clock & Eeprom
    By smart_storm in forum General
    Replies: 8
    Last Post: - 17th February 2006, 19:03
  5. Output PIC module
    By freelancebee in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th September 2005, 20:10

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