Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by OnButton Pressed
基于openharmony的智慧婴儿陪睡伴侣_哆啦A梦(的博客-CSDN博客
一 项目介绍 1.1项目描述 本项目是通过openharmony源码与hi3861开发板进行智慧婴儿陪睡伴侣开发。该项目基于openharmony操作系统实现了包括声音检测,音乐播放,udp远程控制,语音交互等功能。 1.2资源获取 1.openharmony开发者文档进行环境搭建及源码下载 官方文档 网址:https://www.bookstack.cn/read/openharmony-1.0-zh-cn/quick-start-%E6%90%AD%E5%BB%BA%E7%8E%AF%E5%A2%83.md 2.小熊派开源社区 (可以帮助大家学习):BearPi-HM_Nano: 小熊派BearPi-HM Nano开发板基于HarmonyOS的源码 (gitee.com) 3.操作系统Ubuntu华为云中国镜像网址: https://www.huaweicloud.com/theme/77291-1-U 4.hi3861的示例程序以及常见问题:http://...
Harmony OS 设备开发学习记录(四)--通过注册GPIO中断控制LED
Harmony OS 设备开发学习记录(四)–通过注册GPIO中断控制LED 基于hispark wifi套件采用harmony os 2.0全量代码 注:由于核心板板载的按键和led我尝试了很多次也不行,目前先采用wifi套件扩展板,当然外接外设也行。 一、看原理图确定硬件电路 这里同样采用与GPIO8相连的按键和与GPIO12相连的黄色LED 二、在源码中建立demo文件 注:这里为了省事直接采用上次建好的文件夹 三、编写代码 在gpiodemo/gpio_input_int.c中写入 #include <stdio.h> #include <unistd.h> #include "ohos_init.h" #include "cmsis_os2.h" #include "iot_gpio.h" #include "hi_io.h" static volatile IotGpioValue g_ledPinValue = IOT_GPIO_VALUE1; static void OnButtonPressed(char* arg){ (void)arg;...
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with OnButton
Contact OnButton, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack