[General Functions]
Description
Set the HMI to the corresponding LangID.
Syntax
void setLanguage(int lang_id);
Parameters
[in] Lang_id
Language ID.
Return
None.
Example
#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 User Manual for more instructions on 86HMI widgets and API usage.