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.

Display sensors data on DevPack Watch

Other Parts Discussed in Thread: CC2650

Hello TI,

I use the application SensorTagDevPk.eww on IAR Embedded Workbench. I have some problems with display sensors data on lcd DevPack Watch. It is possible to display rawTemp or rawObjTemp with devpkLcdText ?

Regards,

Sebi

  • Can you elaborate on what the problems are?

    Yes, this should be possible.
  • Thank you for information . I tried to display with devpkLcdText in sensor_tmp007 the converted temperature in Celsius (*tObj and *tTgt) but don't display me anything. With devpkLcdText(*rawTemp,5,3) show me change values .I read the sensortag cc2650, and devpack watch wiki but I don't find more information.
    Thank you .
  • It is any solution to display on devpack sensors parameters , I can't find a solution.
    Thank you.
  • I try to use this code:
    void sensorTmp007Convert(uint16_t rawTemp, uint16_t rawObjTemp, float *tObj,
    float *tTgt)
    {
    const float SCALE_LSB = 0.03125;
    float t;
    int it;

    it = (int)((rawObjTemp) >> 2);
    t = ((float)(it)) * SCALE_LSB;
    *tObj = t;

    it = (int)((rawTemp) >> 2);
    t = (float)it;
    *tTgt = t * SCALE_LSB;
    devpkLcdText(*tObj,5,3);
    }

    It display me something like that: ...h...h...h . Where I wrong? Thanks.

    Regards,
    Sebi