In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Dunnsept wrote: OK.. just got home and tried a pause. same code as before, but with a pause 1 inserted in there. I am getting tcuvb1 = 0 and tcuvb = 19 (after the shift right). The values do not change whether I am holding the TC junction or not. I always get the same result back. Chris, I guess the question then is, is my code a reasonable SX/B version of the pbasic code from the included examples? I must have something wrong in there because I'm not getting good data back from it. I also tried a different board tonight. same results. I guess I'll get out my BS2 stuff and try there to verify what sorts of values are getting returned. Where my original question also came from is that the pbasic descriptions of the functions say that they generate 1-wire resets as needed. so I wasnt sure where I needed to put them in to make sure that things work properly thanks paul... ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=127447#m127470 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)