[General Functions]
描述
Set Alarm Banner space between each bank.
語法
void setAlarmBannerSpacing(int space);
參數
[in] space
Number. How many Alarms Banner space between each bank.
Return
無
範例
#include "myhmi.h" void setup() { Hmi.begin(); // put your setup code here, to run once: Hmi.setAlarmBannerSpacing(1); } void loop() { if (Hmi.getToggleButtonState(p2tb1)) { Hmi.showAlarmBanner("This is a test."); } else { Hmi.deleteAlarmBanner(); } // ... }
Please see the 86HMI 編輯器使用手冊 for more instructions on 86HMI widgets and API usage.