General Define Usage

Create a define:

#define	NUM_OF_ANODES	2

In code:

#if NUM_OF_ANODES == 2


#if defined(PIC18F87J50_PIM) || defined(PIC18F46J50_PIM) || defined(PIC18F_STARTER_KIT_1)

Multi Line Continuation Character

Use the ‘\’ backslash character at the end of each line except for the last.
If you have any comments surround them with /* */ (don’t use // )

We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.


Your email address will not be published.