PDA

View Full Version : Keyboard help



bsparky
01-03-2006, 11:17 PM
In the two programs I am providing I use the same serial routing to read a keyboard from a EDE1144 that Chris help me with once before. What I don't understand is the DVD controler program the first time thru the program or after reseting the first key press fails to register as you can see in the debug statements I put in. The Dart scoring program works fine every time after reseting or downloading. Out put is going to a MAX7219.

bsparky
01-03-2006, 11:18 PM
Sorry forgot the programs here they are.................

Chris Savage
01-03-2006, 11:42 PM
Hello,

The problem I think maybe that in your code, you have the I/O line that the EDE1144 uses for serial input set to an output, while the Data Ready line is an input. This almost doesn't make sense, since in your working code you're making ALL pins outputs, even though the ones for the EDE need to be input. That's something you might want to look at. =)

BTW, thanks for attaching the code, it makes it easier to load into the editor and see what's gong on.


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com (mailto:csavage@parallax.com)

bsparky
01-04-2006, 01:46 AM
Thanks Chris I will give that a try when I get home tonight and let you know.

bsparky
01-04-2006, 05:08 AM
Chris Thank you once agian, that worked.