Page 1 of 1

LCD code

Posted: Fri May 01, 2009 12:15 pm
by echase
Looking at various versions of my compiled code I see that the C for the LCD contain these lines:-

void FCD_LCDDisplay0_GetDefines()
{
} //Dummy end of function to allow defines to be added correctly
//component connections
#define LCD_4129482_PORT portb

In other versions the long number in middle is different such as:-

#define LCD_328348_PORT portb

#define LCD_1835698_PORT portb

What is the significance of this number? Why does it vary maybe every time I compile and do I need to worry about it changing?

Re: LCD code

Posted: Fri May 01, 2009 3:19 pm
by Benj
Hello

This is just a method we used here to allow multiple LCDs to be added to a program without causing problems. The number is random and you do not have to worry about it changing.