This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430F6659: MSP430F6659 CCS 7

Part Number: MSP430F6659
Other Parts Discussed in Thread: MSPWARE

Tool/software: Code Composer Studio

Hi, I'm having a hard time trying to alter one of the MSPware GRLIB driver to support the very common SSD1963. with a 480x272 color graphics display. All there is is some old 96 x 96 pixel display example.

Anyhow there is an example of a GRlib with no display driver and I am trying to add the low level routines to make it work. I can't get the program to compile without errors. One that has me baffled is I when I try to call a function from within another function, I get a # 19 error- 'extra text after expected end of number' The basic code is below.

Thanks for any help!

void SetAddress(unsigned int 1X, unsigned int 1Y)

 

{

 

   WriteCommand(0x2A);           //Set Column Address

   WriteData((1X));//I get an error here- #19 extra text after expected end of number

...

...

}

 

 

 

 

 

 

void WriteData(uint16_t usData)

{

             CSD=0;

             PBOUT= usData;     //output the 16)

             WRD=0;     //Write timing

             WRD=1;

             CSD=1;

}