Hi Gerhard, Thanks for your response. You are right, I am a beginner which is why = these libraries was attractive to me, but as you say, if the sources are there (and it looks like they are included) I could adapt it for use in any compiler. Have you ever found you needed a 24 bit integer datatype and wished PICC = had support for it?=20 _____ =20 Andr=E9 Miller =09 -----Original Message----- From: pic microcontroller discussion list = [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Gerhard Fiedler Sent: 31 March 2004 02:05 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC:] Microchip C18, or HI-TECH PICC18? > Reading some of the documentation I have made a short list of pro's=20 > and con's. > > Microchip C18: > - PRO: Standard libraries include hardware peripherals (as well as=20 > software > implementations) > > HI-TECH C18: > - CON: Standard libraries only include ANSI functions, no PIC=20 > peripherals, such as PWM, SPI, ASUART, etc > > Currently I'm leaning towards Microchip's compiler mainly due to the=20 > fact that it has standard libraries for hardware peripherals. I have been using HiTech PICC for a while. I'm not sure libraries for hardware peripherals are of great help. I find that the exact way I use = a hardware peripheral depends a lot on the particular project: in one case = I poll the UART, in another I receive by interrupt into a long buffer, in still another I need to watch timing closely and set timeouts. There are some things that repeat themselves, for sure, but then you write them = easily and quickly. But probably you find them useful as a starting point if = they come with source code -- and if they work. (But then, if they come with source code, you can use them as a starting point for the HiTech = compiler just the same.) I can't comment on the Microchip C18, sorry, so no real contribution to = your question. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu