[General Functions]
描述
Switch the HMI to the specified Page.
語法
void gotoPage(lv_obj_t* pageId);
參數
[in] pageId
Page ID.
Return
無
範例
#include "myhmi.h"
void setup() {
Hmi.begin();
// put your setup code here, to run once:
Hmi.gotoPage(p2);
}
void loop() {
// ...
}Please see the 86HMI Editor使用手冊 for more instructions on 86HMI widgets and API usage.