I want to find...

Search

Shares

Table of Content

86HMI::showAlarmBanner()

[General Functions]

Description

Show Alarm Banner. Set the text to bank and display it on the alarm banner.

Syntax

void showAlarmBanner(char* msg, int bank = 0);

Parameters

  • [in] msg
    Alarm message text.
  • [in] bank
    The number of groups of alarm banners is an integer value between 0 and 15, beyond which it has no effect.

Return

None.

Example

#include "myhmi.h"

void setup() {
  Hmi.begin();
  // put your setup code here, to run once:
  Hmi.showAlarmBanner("This is a test.");
}

void loop() {
  // ...
}

Please see the 86HMI Editor User Manual for more instructions on 86HMI widgets and API usage.

Scroll to Top