Hi, I know I now have a 31.768KHz clock connected to timer1. I am trying to set this to be the system clock. Do I need to adjust OSCCON at all? Also will just setting up T1CON correctly do this, or are there other settings that need to be changed? On 5/8/05, Jinx wrote: > > > datasheet for the 16F87, and it says the internal oscillator is > > > +- 1% accurate, I think, at 25 degrees C. I think something > > > must be very wrong for it go get that far out. > > > > Do the calculation - half a second in 2 minutes is 0.4%, well in > > spec. You'll need to use a crystal to keep accurate time > > Or use OSCTUNE or adjust your timing block to compensate > for the 0.4%. Depends on what periods you want to time. Even > a crystal will not give give accurate long-term stability unless it's > calibrated and temperature-compensated. 10ppm is ~ 1s / day > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist