Hello,
Place a popup widget where you want the popup box to appear, and then place a label widget on top of that widget.
Then, when the MCU receives the error code 01, it sends a set_text command to the LCD to the label widget with “Please call 911”.
When the MCU receives error code 02, it sends set_text command to the LCD with “Please turn off the system”.