In SX Microcontrollers, SX/B Compiler and SX-Key Tool, transmon wrote: Could the code from this post see attacment be modified to work on a 3x4 keypad? If so would you just delete the "A" "B" "c" and "d" in the lookup table, and change the scan lines p0-p2 outputs and p4-p6 as imputs, how would the DIRL= %00000111 is this correct, dosent seem right this code is writen for BS2 when I convert over to SX it gets an error on X VAR Byte and i Var Nib is that because the memory is not set up the same on the SX chip. Thanks Dave ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=152353 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)