On Wed, 28 Aug 2002, Samuel BOUQUET wrote: > By setting the OPTION_REG bit 3 I put the prescaler to the WD. I need a 1:1 > TIMER 0 in my application. So the bit PSA (OPTION_REG bit 3) has to be set. If you want no prescaler on TIMER0, I'd suggest "setup_counters(RTCC_EXT_H_TO_L,WDT_2304MS);". Actually, the preferred method would be: setup_timer_0(RTCC_EXT_H_TO_L); setup_wdt(WDT_2304MS); The WDT is disabled, so the prescaler setting is immaterial as long as it's assigned to the WDT. > So how can i get safely a timer 0 without prescaler and without an > undesired WDT-reset? Let the compiler do the work. 8-) Dale -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body