PROGRAMMING PIC MICROCONTROLLERS IN C:STRUCTURE OF A C PROGRAM

STRUCTURE OF A C PROGRAM

The simplest C program consists of three lines:

Programming PIC Microcontrollers in C-0144

It is always a good practice to include comments in programs to describe the operation of the various parts of the program. Comment lines should also be included at the beginning of a program to describe the aim of the program, the author, filename, date, and any modifications.

 

Programming PIC Microcontrollers in C-0145

Programming PIC Microcontrollers in C-0146

Leave a comment

Your email address will not be published. Required fields are marked *