Write a simple Hongmeng entry application

Getting started with HelloWorld When a new Hongmeng project is completed, it comes with HelloWorld code Inclusion relationships in pages As shown in the figure below, the MainAbility (Interface) contains one or more MainAbilitySlice (sub interfaces) The MainAbilitySlice (sub interface) contains the content to be displayed Mai ...

Posted on Fri, 08 Oct 2021 23:23:34 -0400 by man12_patil3

Hi3861 basic function summary of Hongmeng OS2.0 equipment development

This is a summary of common functions of Hi3861 developed in Hongmeng 2.0 full source code, which can help us quickly configure GPIO, such as how to realize PWM, I2C, ADC, etc. 1. Basic IO functions 1.1 output Enable and configure the output value in two steps; IoTGpioInit(GPIO_idx); IoTGpioSetDir(GPIO_idx,1);//1-output 0-input IoTGpio ...

Posted on Mon, 27 Sep 2021 23:51:16 -0400 by joshgarrod