[General Functions]
描述
Set the HMI to the corresponding LangID.
語法
void setLanguage(int lang_id);
參數
[in] Lang_id
Language ID.
Return
無
範例
#include "myhmi.h"
void setup() {
Hmi.begin();
// put your setup code here, to run once:
Hmi.setLanguage(1);
}
void loop() {
// ...
}Please see the 86HMI Editor使用手冊 for more instructions on 86HMI widgets and API usage.