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.

Did anyone find LCD problem with SimpleApp in CC2430?

I decided to output a few string in SimpleApp. Here is what I did:

Go to Project->options->c/c++ compiler, in "Defined Symbols", I add a new line "LCD_SUPPORTED=DEBUG".

I expect to see at least LCD initialization with IEEE 64bit address. However, nothing is shown on LCD. Originally, after programming the board, I will see LED1 blinking and after pressing SW1, LED1 will be off and LED3 starts blinking. After I enabled LCD, LED1 and LED3 will blink alternatively, which appears quite confusing to me. 

Thanks if anyone could help.

  • In "Defined symbols", I see "xMT_TASK" instead of "MT_TASK".

    Does "xMT_TASK" mean "do not define MT_TASK"? What is the difference between "xMT_TASK" and blank (define neither  "xMT_TASK" nor "MT_TASK")?

     

  • xMT_TASK is a simple way of disabling this flag. It is similarly used to disable other compile flags.

    What it does, is defining "xMT_TASK" as a full string (like it was another flag), thus making MT_TASK undefined, since theres no instruction to do so. You coud achieve that by adding any other string (f. i. donotdefinMT_TASK, or whaterver will do the same).