2006/8/4, Thomas C. Sefranek wrote: > Hi Tan, > > The "New" uart.h comes from Microchip for the additional support for the > PIC24 series. > (Lots of new register bits needed to be defined, etc.) > > Tom > > * > | __O Thomas C. Sefranek WA1RHP@ARRL.NET > |_-\<,_ Amateur Radio Operator: WA1RHP > (*)/ (*) Bicycle mobile on 145.41MHz PL74.4 > > ARRL Instructor, Technical Specialist, VE Contact. > http://hamradio.cmcorp.com/inventory/Inventory.html > http://www.harvardrepeater.org > > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of > WH Tan > Sent: Thursday, August 03, 2006 10:02 AM > To: Microcontroller discussion list - Public. > Subject: Re: [PIC] C30 Problems > > 2006/8/3, Thomas C. Sefranek wrote: > > Hurrah and a tiger for you Bill. > > > > I had an include uart.h, but ofcourse the compiler uses the old one, > > Because the new stuff is in a different directory. > > > > I guess I better copy ALL of the new stuff for the peripherals to the > > "old" directory. > > > > I'm curious Tom. Can you show your inits.c? What you have included > in this module? A 'new' uart.h? > > I am guessing what you're doing: You're doing some IR stuff with > UART2 port, right? And you have made some change to C30 uart.h ? If > I were you, I will let uart.h unchanged as it was. I will then make a > new header file with a different name and put all new stuff inside > this header file. Then I will have inside inits.c > > #include // include the original C30 one > #include "new_header.h" // include all new stuff > > > Best regards, > > -- > WH Tan > -- > 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 > OH yeah, just recalled that peripheral lib is not supported at the moment! Did they tell you when the lib will be supported? Best regards, -- WH Tan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist