Pic microcontroller programming using Mikroc Pro for PIC

Pic microcontroller programming using Mikroc Pro for PIC. The purpose of this article is to introduce you to the pic microcontrollers programming and familiarizing with the programming environment of a software; MikroC Pro. MikroC Pro is an Embedded-C compiler  that allows you to convert a code written in C  language to machine language. MikroC Pro for Pic is used for pic microcontroller programming in c.  Programming or burning a microcontroller means to transfer the program from the compiler to the memory of the microcontroller. A compiler is a software which provides an environment to write, test and debug a program for the microcontroller. The program for a microcontroller is generally written in C or assembly language. Finally the compiler generates a hex file which contains the machine language instruction understandable by a microcontroller. It is the content of this hex file which
 is transferred to the memory of the microcontroller. Once a program is transferred or written in the memory of the microcontroller, it then works in accordance with the program.There are many compilers for programming microcontroller. Example: MPLab, MikroC, AVR compiler, Keil uvision etc. . 

No comments

Powered by Blogger.