Cool!
Highlighted Code.
Instant Interrupt Examples.
And the solution to a problem with DT in the title.
I think I'll just sit back and enjoy life for awhile.
<br>
Cool!
Highlighted Code.
Instant Interrupt Examples.
And the solution to a problem with DT in the title.
I think I'll just sit back and enjoy life for awhile.
<br>
DT
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
Last edited by mister_e; - 27th April 2007 at 07:58.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks