我想找...

搜尋

分享

目錄

86HMI::gotoPage()

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

返回頂端