Header guards are an important feature that should be included in ALL header files. The purpose of a header guard is to prevent macros, typedefs, enums and function prototypes from accidentally being included in a source file twice. If these definitions do get included twice it can lead to a compiler error due to a … Continue reading Embedded Basics – Header Guards