Hello all, Well I got it. In the KHz range it agrees with my HP5245 right on=20 the money. At 250KHz it is off +-5Hz. That is only .002%. I can't=20 measure MHz yet. This is with a 4MHz resonator that is running at 3.979=20 MHz.I'm happy with this All :) Thanks, rich! On 7/23/2014 12:40 PM, Jan-Erik Soderholm wrote: > Well, now... :-) > > The *Mikroelektronika* code generator is (probably) > not doing anything wrong! > > But it generates code for *MikroC*, the compiler from > *Mikroelektronika*, of course! > > Why should *they* generate code for the XC8 compiler!? > > Is there any specific reson you are using a code generator > for another compiler!? This might also be the reason I was > not sure from the start what compiler you used. :-) > > > Watch out for the calculator. It is not correct for XC8. > > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .