Keyboard help
bsparky
Posts: 52
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.
Comments
·· 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