What is this DALI header file for?

Status
Not open for further replies.
T

treez

Guest
Hello...

#include "dali_cg_protocol.h"

....our software engineer tells us that he hasn't changed our code at all. However, we found that his main function now has the above header file included. It wasnt there before. He didnt tell us about this. What does this header file do?
It is something to do woth the DALI protocol that our LED lamp uses, but do you know what it does
 

Its a text file, open it and have a look. Possibly it is the file mentioned here: ww1.microchip.com/downloads/jp/DeviceDoc/jp569691.pdf but it could be anything.

Header (.h) files are not mandatory, they exist to simplify programs, especially where several source files share the same declarations. The contents of a header file are passed verbatim to the compiler so it just saves the programmer typing it into each source file individually. Maybe your programmer has rearranged to code to collect common declarations together into one file.

Brian.
 
Reactions: treez

    T

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…