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.

Watch Dev pack LCD API not working

Other Parts Discussed in Thread: CC2650STK

Hi,

    I followed the instructions form http://processors.wiki.ti.com/index.php/CC26xx_LCD to get the Watch dev pack working on the Sensor Tag. I am able to see the test message on the LCD. But the LCD API (devpkLcdText) only works if its used in the SensorTag_init function in the start.


I tried using the API when a key is pressed:

static void SensorTag_callback(PIN_Handle handle, PIN_Id pinId)
{
  switch (pinId) {

  case Board_KEY_LEFT:
    SensorTagKeys_processKeyLeft();
    devpkLcdText("Left", 2,0);

    break;

  case Board_KEY_RIGHT:
    SensorTagKeys_processKeyRight();
    devpkLcdText("Right", 2,0);

But the application seems to crash when I press the key. Even if I call devpkLcdText on the last line of SensorTag_init it seems to crash.


Can someone please help ?