Hello ... Has anyone written some code reading the temperature from an DS1821 into an PIC and can help me a little bit with implementing that? Or is there some code somewhere on the Internet? I want to implement my project on the 16F84 4MHz. I have to wait in some condition for about 3 minutes and also have to read the temperature (DS1821) meanwhile. But I have only one timer in the PIC and that seems to be not so simple. Has anyone an easy method to measure 3 minutes (+-10 sec) without using the timer and working with the pic meanwhile. The IRQ pin PB0 would be available, but I don't want to use much more external components ... Thanx for Your reply! -- CU. -|-\_ Internet: embo@bse.netestate.de -|+/ PGP key available on request