In SX Microcontrollers, SX/B Compiler and SX-Key Tool, WMcKILLemALL wrote: JonnyMac I'm trying to read a postion on a digital caliper ( 0" to 24" ) I have a 4 pin header on the caliper pin1 = VSS pin2 = clock clock speed is 77kHz~ This is measured with a Parallax Oscope pin3 = DATA pin4 = VDD The word starts out with a 55uS pause then the 24 bit word and a 55uS stop I think My real ? is about the 16 bit REG. and a 24bit value. How do I get the first 16 bits and then catch the last 8 bits in a REG. without them going by the way side.? And how to read this in to differnt REG.? I'M confused The Assembly I have converts this 24bit word to Quadrature and involes a lot of hardware. Anyhelp or links would be great. I also look forward to Your artc.s in Nut&Volts ____________$WMc%__________ ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=326798#m326927 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)