我想找...

搜尋

分享

目錄

86HMI::showAlarmBanner()

[General Functions]

描述

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

語法

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

參數

  • [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

範例

#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 編輯器使用手冊 for more instructions on 86HMI widgets and API usage.

返回頂端