Sep 1, 2006 #1 C Code Warrior Full Member level 4 Joined Dec 30, 2004 Messages 230 Helped 10 Reputation 20 Reaction score 2 Trophy points 1,298 Activity points 1,831 Hello, I want to attach 4X4 key pad to AT89S52 on port P0. Please suggest me code in assembly as well as in C. So I can experiment on the same. Please do the need full.
Hello, I want to attach 4X4 key pad to AT89S52 on port P0. Please suggest me code in assembly as well as in C. So I can experiment on the same. Please do the need full.
Sep 1, 2006 #2 I IanP Advanced Member level 7 Joined Oct 5, 2004 Messages 7,929 Helped 2,311 Reputation 4,624 Reaction score 531 Trophy points 1,393 Location West Coast Activity points 66,416 'ASM': **broken link removed** All what you need to do is to change P1.0 to P0.0 .. and so on .. and don't forget about 8x10kΩ pullups on PORT0 .. 'C': http://www.blitzlogic.com/kbd_C.HTM Regards, IanP
'ASM': **broken link removed** All what you need to do is to change P1.0 to P0.0 .. and so on .. and don't forget about 8x10kΩ pullups on PORT0 .. 'C': http://www.blitzlogic.com/kbd_C.HTM Regards, IanP
Sep 1, 2006 #3 C Code Warrior Full Member level 4 Joined Dec 30, 2004 Messages 230 Helped 10 Reputation 20 Reaction score 2 Trophy points 1,298 Activity points 1,831 Thanks IanP for help. Can you suggest me how to write keyboard code for 8051 in C.