Sage advice. And, sorry, I mislead you. My RA4 problem was on the = 16f877, but the DS temp sensor was on the 16f88. And how's this for an excuse for wanting to rewrite the code: I didn't = have a test wire lead soldered to RA4 on the PICDem4 so I thought it was = easier to change the software than the hardware. (-: > > I was going to rewrite the code to use only one i/o pin, but I noticed = it > wasn't so easy and that I needed to learn more stuff before = continuing. This > thread falls right in with that. Thanks for the great explanation! Let me give you a piece of safe advise: Get it to work... THEN LEAVE IT = ALONE! There's only two reasons to rewrite: insufficient resources, or = excessive cost. Since you're using a 16F877, you have resources galore, and since it's = clear that you're a novice hobbyist, cost shouldn't be an issue. So again once = it works, leave it alone and move on. There's a whole bunch to more to = learn and do. [SNIP] -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.663 / Virus Database: 426 - Release Date: 4/20/2004 =20 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.663 / Virus Database: 426 - Release Date: 4/20/2004 =20 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu