Skip to Content
C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming
book

C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming

by Hubert Henry Ward
December 2019
Intermediate to advanced
282 pages
4h 22m
English
Apress
Content preview from C Programming for the PIC Microcontroller: Demystify Coding with Embedded Programming
© Hubert Henry Ward 2020
H. H. WardC Programming for the PIC Microcontrollerhttps://doi.org/10.1007/978-1-4842-5525-4_7

7. Creating a Header File

Hubert Henry Ward1  
(1)
Lancashire, UK
 

This chapter covers how to create a header file. It then uses a header file in a program to control the LCD in 4-bit mode.

Header Files

These can be used to reduce the size of a program listing and split a program up into different sections for different members of a team to work on. These header files will all be brought together using the #include statement in the main program.

One of the most useful applications of header files is when a lot of programs are going to use a peripheral device in exactly the same way in all the programs. One of the main peripheral devices ...

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.
Start your free trial

You might also like

Intermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming

Intermediate C Programming for the PIC Microcontroller: Simplifying Embedded Programming

Hubert Henry Ward

Publisher Resources

ISBN: 9781484255254Purchase LinkPublisher Website