[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 Editor使用手冊 for more instructions on 86HMI widgets and API usage.