Allen, Yep, that is what is going on. There are several references that=20 are not defined in the XC8 compiler. I'll have to look them up and=20 change them in the code. Thanks, rich! On 7/19/2014 10:53 AM, Allen Mulvey wrote: > What compiler are you using? This code is for MikroC. You may have to > translate a few things. For instance, they may express things like > "TMR1IF_bit" differently. These are PIC specific and not a part of standa= rd > ANSI C so each compiler developer is free to define them as they see fit. > > Allen > >> -----Original Message----- >> From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf > Of >> Richard R. Pope >> Sent: Saturday, July 19, 2014 11:25 AM >> To: Microcontroller discussion list - Public. >> Subject: Re: [Pic] Making a special timer! >> >> Allen, >> I try this and it won't compile. I have also tried it with >> prototypes and I receive the same error messages. I fix one problem and >> end up with more. Well I'm getting there. All of the help has been >> greatly appreciated. >> --=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 .