Thanks, sorry for the confusion, I meant RB4. anyway, am I correct to assume the timer (in timer mode fed from osc.) is always running as soon as you tell it it is in timer mode ? Regards, Ronald On 2002.11.04 21:24 Jinx wrote: > > I need to control the timer0 state (running/stopped). is there a > > smarter way than reassigning input to INT (and preventing INT > > from changing level in hardware) ? > > Hi, INT has no connection with Timer0. Timer0 in count mode > is clocked by transistions on RA4 / T0CKI. > > But you can make RA4 behave like INT by setting Timer0 to FF > and clocking it to generate a T0 overflow interrupt. Then reload > Timer0 with FF for the next one > > (Don't forget RA4 pull-up and pre-scaler assignment) > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics