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.

How To clear or blank LCD in Zstack

Hi all, I need to clear or blank LCD, I´m printing  a "                       " (blank message), but I want to do this using a Hal_LCD method, I´m using SampleApp of Zstack. Any Idea?

  • Hello Leonardo,

    For clearing a single line you can set *pText to " " into the following function and the rest of the line will be filled with blank spaces.

    void HalLcd_HW_WriteLine(uint8 line, const char *pText)

    HalLcd_HW_Clear() will clear the entire display.

    These functions and their description can be found in the hal_lcd.c file.

    Thanks,