3.1 C Languages for Microcontrollers
There are basically three types of C compilers in the market for the PIC microcontrollers, depending upon the type of microcontroller used. Some compilers are available for the low-end microcontrollers, such as the PIC10/12/16 series. Some compilers are available for the mid-range microcontrollers, such as the PIC18 series. Some compilers are specifically designed for the mid-range PIC24 series of microcontrollers, and a few compilers are available for the high-end PIC32 series of microcontrollers.
In this book we shall be using the mid-range PIC18 microcontrollers in our designs and examples. There are several C compilers in the market developed for the PIC18 series of microcontrollers. Some of the popular C compilers used in the development of educational, domestic, commercial or industrial PIC18 microcontroller based projects are:
- mikroC Pro for PIC C compiler;
- PICC18 C compiler;
- C18 C compiler;
- CCS C compiler.
mikroC Pro for PIC C compiler has gained much popularity in recent years, because of its low cost, ease of use and full support for various development boards. This compiler has been developed by MikroElektronika (Web site: www.mikroe.com) and is one of the easy-to-learn compilers with rich resources, such as a large number of built-in library functions. The compiler provides an integrated development environment (IDE) with built-in editor, compiler, simulator and an in-circuit-debugger (e.g. mikroICD). Users can write a program ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access