I want to find...

Search

Shares

Table of Content

86HMI::gotoPage()

[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.

Scroll to Top