includes work very well when passing info to the pic from an external program.
I use a program written in GW basic to ask the factory questions as to
how the PIC is to be set up (alarm levels) and which options to enable.
The answers to these questions are then output to a text file.
The text file containing the setup data is then compiled as an include file.
..........Keeps the factory out of the program and provides a more user friendly
enviroment for the factory to enter setup info.
Bookmarks