In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sawmiller wrote: GOT IT :p after meesing around all day , finally got it to work by putting TRIS_B = %11111110 ' **** why do it do what it do output query after i get the timer capture numbers...... no idea why that works , but it does.. now on to subtract and divide 16 bit numbers.... bean was right, will have lots o resolution on this thing , looks like ( by using a calc ) 1/256th of a inch.... or so :) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=105120#m105199 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)