当前位置:网站首页>Helloword and led: a quick start to Hongmeng device development -- Huawei cloud 14 day Hongmeng device development practical learning notes Chapter 2
Helloword and led: a quick start to Hongmeng device development -- Huawei cloud 14 day Hongmeng device development practical learning notes Chapter 2
2022-07-19 13:37:00 【Hua Weiyun】
Hua Wei Yun 14 Tianhongmeng equipment development practice Learning notes
The first Two : Quick start And Helloword And LED
One 、 Helloword
1. add to HelloWorld The source code file
(1) newly added my-app Folder
First, drag the project folder into VsCode, Then view the directory on the left side of the open interface , stay ./applications/BearPi/BearPi-HM_Nano/sample Create a new one under the path my_app Catalog , Used to store business source code files

(2) newly added hello_world.c Document and BUILD.gn file
stay ./application/BearPi/BearPi-HM_Nano/sample/my_app Create a new one under the path hello_world.c Document and BUILD.gn file , Compile scripts for business source code files and business source code respectively .
.png)
2. To write hello_world.c The source and BUILD.gn Of Source compilation script
.png)
.png)
3. Write and compile build files BUILD.gn
.png)
4. compile Hello World Program
.png)
Compile the complete :
.png)
5. Burn program
.png)
6. View serial port data
.png)
Two 、 Lighten up LED
The procedure is similar to the above operation
.png)
The compilation and burning steps are the same as above , Press reset after burning :
.jpeg)
We can also add the following code implementation LED flashing :
.png)

3、 ... and 、 Conclusion
For complete experimental resources, please refer to the links of official course resources , Welcome to sign up : Hongmeng equipment development practice _ Online courses _ Huawei cloud developer school _ Cloud computing train - Hua Wei Yun (huaweicloud.com)
边栏推荐
- 响应式织梦模板酒窖类网站
- 【7.12】Codeforces Round #806 (Div. 4)
- 【码蹄集新手村 600 题】针对于字符串的格式化控制,即字符串的宽度与精度
- 【考研词汇训练营】Day 7 —— second,attract,current,collect,simple,communicate,vocation
- [error record /selectpicker] the display position of dropdown menu is offset
- Use golang to correctly process the IP data of the five major Internet registration agencies
- [从零开始学习FPGA编程-53]:高阶篇 - 基于IP核的FPGA开发-PLL锁相环IP核的原理与配置(Xilinx)
- 【码蹄集新手村 600 题】float 与 double 的格式说明符
- Qt之使用QLisView实现QQ登录历史列表
- LeetCode 0118. 杨辉三角
猜你喜欢

codeforce:G. Good Key, Bad Key【贪心】

Force buckle 64 minimum path sum -- Introduction to dynamic programming

Forget about postman. Apifox is better

Onvif protocol related: 3.1.2 get the token list in digest mode
![[Tencent blue whale] the seventh 7.24 operation and maintenance day holiday greetings ~ come and make a wish~](/img/60/ab96abd599230078b19abad0aecba2.png)
[Tencent blue whale] the seventh 7.24 operation and maintenance day holiday greetings ~ come and make a wish~

LeetCode 0565.数组嵌套:转换为图 + 原地修改の优化

响应式织梦模板物流货运服务类网站

【南瓜书ML】(task2)线性模型的数学推导(最小二乘估计、广义瑞利商、极大似然估计等)

onvif协议相关:3.1.1 Digest方式获取Authorization
![[Yugong series] July 2022 go teaching course 012 forced type conversion](/img/7d/79f3e3e9fc73ee860b9607b7ebbb84.png)
[Yugong series] July 2022 go teaching course 012 forced type conversion
随机推荐
力扣第 302 场周赛
[micro Service ~ advanced] configuration center practice
[Yugong series] July 2022 go teaching course 012 forced type conversion
[机缘参悟-46]:鬼谷子-第十谋篇-谋者,智慧之意也
onvif协议相关:4.1.4 WS-Username token方式获取流地址
Onvif protocol related: 2.1.2 get screenshot URL in none mode
CMOS switch learning (I)
Galaxy Kirin V10 arm offline installation of portal
力扣70-爬楼梯——动态规划
【码蹄集新手村 600 题】科学计数法的实现方式,输出指数形式
onvif协议相关:3.1.3 Digest方式获取截图url
Three methods of realizing network request in pyodide
Transphorm的表面贴装封装产品系列增加行业标准TO-263 (D2PAK)封装产品,扩大SuperGaN平台的优势
Onvif protocol related: 3.1.3 get screenshot URL in digest mode
npm err! ant-design- [email protected] build: `umi build`
onvif协议相关:2.1.3 none方式获取流地址
torch.utils.data.DataLoader说明
[pyGame learning notes] 7 event
Principle of voice communication network
Computer dial-up Internet access