Hi what a failure the project is. I was planning to put a 4*4 keyboard on portA of a ATmega32, sending F0 to the data direction register & the data port. this is the "test" plan, to put 1's on all the rows, the loop will look for a 1 on the columns, when it finds a 1 the beeper will beep, then I will continue to write the code so to put information on the LCD from the keyboard after strobbing the rows one by one. I got it to work alright on the studio program, it loops round looking for a 1 on the columns, but it fails when I download it to the micro, I have got the port lines going direct to the keyboard, should I put say 10K resistors on the input ports? or use some other hardware ideas? From Eric
Message
The keyboard
2005-02-18 by Eric
Attachments
- No local attachments were found for this message.