TucsonDon
Member
I have a function to write a location to a LCD
the prototype:
and have defined location in the header as follows:
I issue that I have is that I have a function to display text on the lcd:
I need to make "-postion-" a variable that changes with the text that I am displaying.
the prototype:
C:
void LCDMove(unsigned char row,unsigned char column);
C:
#define POS1 LCDMove(1,1)
#define POS2 LCDMove(2,1)
#dfine POS3 LCDMove(3,1) ect….
I issue that I have is that I have a function to display text on the lcd:
C:
void TextDisplay(void)
{
sprint(buff, "%s", Text);
while(busyXLCD());
-postion-
putsXLCD(buff);
repeat several times
}
I need to make "-postion-" a variable that changes with the text that I am displaying.