[General Functions]
Description
Switch the HMI to the specified Page.
Syntax
void gotoPage(lv_obj_t* pageId);
Parameters
[in] pageId
Page ID.
Return
None.
Example
#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 User Manual for more instructions on 86HMI widgets and API usage.