Keypad and DT's Instant Interrupts


Results 1 to 12 of 12

Threaded View

  1. #11
    Join Date
    Oct 2005
    Posts
    35


    Did you find this post helpful? Yes | No

    Question

    I have noticed that the keypad display output occurs on the release of the keypress. The setup I have which is like a "musical chairs" type of game requires variable index capture of the first player to be detected on "keypress". Can I change this?
    Also, in my old kepad routine I would lockout a team of 4 players who jumped the gun by removing that column from the scan, bit 0 in the example portion below.

    If penaltyflagA = 0 then ' good start
    PortB=%00001111
    butn = butn +4
    Goto PlayerB ' Pull the first row line LOW
    Else ' penalty for this player
    PortB=%00001110 ' remove this col from keypad scan for round

    Where is the best place in this keypad code to do the same?
    Last edited by Homerclese; - 27th April 2007 at 04:22.
    Thanks,
    Homerclese

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