Matrix Keypad routine


Closed Thread
Results 1 to 40 of 135

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    Ioannis,
    You have to compile with MPASM, not PM.
    Ohh! dear....

    Thanks,
    Ioannis

  2. #2
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default Mpasm > Pm

    Hello Steve,

    Any idea in getting your code to work (compile) with PM. ?

    That would be a big help.

    thank you for the shareing the code.

    regards

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


    Did you find this post helpful? Yes | No

    Default

    Nope, i have no idea and no plan to do it.

    I NEVER use PM, it really don't worth to use it anyways... sorry
    Steve

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

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I know of NO reason why anyone should still be using PM.

    If you don't use ASM then it'll handle PBP just fine. But if you do use ASM, PM will cause nothing but problems. I never use it anymore either.

    However, before I found out how much better MPASM is, I used PM for a year or 2, and am probably more familiar with it than Steve.

    So here's Steve's Kepad.bas, modified to work with PM.exe

    This version will NOT work with MPASM

    Don't forget to remove the .txt extension.

    HTH,
    Attached Files Attached Files
    DT

  5. #5
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Smile

    Looks good Steve. Worth a vote *****

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


    Did you find this post helpful? Yes | No

    Default

    i has the advantages to be 'user configurable' and support many matrix Keypad type... up to 8X8.

    Can be used in a Timer interrupt as well, so you can read from it when you want, etc etc.

    Enjoy!
    Steve

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

  7. #7
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    It looks quite comprehensive.

    I tend to base most of my algorithms around direct logic - boolean algebraic structures - rather than continuous mathematics, i.e calculations. PIC's are not as well equipped for calculations.

  8. #8
    Join Date
    Sep 2003
    Location
    INDIA
    Posts
    161


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    I know of NO reason why anyone should still be using PM.

    If you don't use ASM then it'll handle PBP just fine. But if you do use ASM, PM will cause nothing but problems. I never use it anymore either.

    However, before I found out how much better MPASM is, I used PM for a year or 2, and am probably more familiar with it than Steve.

    So here's Steve's Kepad.bas, modified to work with PM.exe

    This version will NOT work with MPASM

    Don't forget to remove the .txt extension.

    HTH,
    Thanks Darrel.

    Unfortunately I still use PM and maybe I am facing all problems because of that. I shall shift over to MPASM and see the difference.

    Today my biggest problem is to get a 16F628A to sleep and wake it on INT on Change B4...B7. This is in conjuction with a keypad rotuine I am working on for a keylock project.

    I think I must change over and see (experience) the difference myself

    Thank you steve for this wonderful thread.

    regards

Similar Threads

  1. calculator-like code entry with matrix keypad and display
    By Dennis in forum mel PIC BASIC Pro
    Replies: 35
    Last Post: - 16th December 2009, 22:58
  2. Need help in matrix keypad coding
    By rano_zen06 in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 24th May 2008, 13:16
  3. I2C PCF8574 4X4 Keypad routine
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th January 2007, 21:25
  4. Inconsistent output on a 4x4 matrix keypad
    By markcadcam in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 24th November 2006, 03:54
  5. very basic matrix keypad question
    By kitcat in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th July 2006, 21:33

Members who have read this thread : 2

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