© Hubert Henry Ward 2020
H. H. WardIntermediate C Programming for the PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-6068-5_1

1. Creating a Header File

Hubert Henry Ward1 
(1)
Leigh, UK
 

In an effort to reduce the amount of text in the program listings and reduce the amount whereby I simply repeat myself, let’s create and use a series of header files. Header files are used when your programs use the same series of instructions in exactly the same way in all your projects and programs.

In this book, you will create three header files. The first will be concerned with the configuration words you write for your projects. The configuration words are used to configure how the PIC applies the essential parameters of the PIC. They have to be written ...

Get Intermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.