Prerequisites
Lights
...
Code (MSXI)
We'll be using the Lights code from MSXI as a reference, since it is one of the more straightforward boards to understand.
...
A header file is a file with the *.h extension, which contains C function declarations and macro definitions to be shared between several source files. In a nutshell, it provides an Application Program Interface (API) that does not contain or expose any implementation details.
...