上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 124 下一页
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2021-08-30 14:06 txwtech 阅读(904) 评论(0) 推荐(0)
摘要: 别克钥匙的纽扣电池CR2032 阅读全文
posted @ 2021-08-30 08:52 txwtech 阅读(24) 评论(0) 推荐(0)
摘要: LM35的引脚有3个,有字一面作为正面,左边接5V,右边接GND,中间就是接模拟输入口,A0-A5随便你自己,我这里用的A0。 https://jingyan.baidu.com/article/ed15cb1bbe055a1be36981df.html AS312数字式热释红外传感器(2.7~3. 阅读全文
posted @ 2021-08-26 23:22 txwtech 阅读(606) 评论(0) 推荐(0)
摘要: 鸿蒙开发板Hi3861_通过GPIO12 PWM蜂鸣器播放<涛声依旧>-——基于code-2.0-CANARY https://blog.csdn.net/txwtech/article/details/119918224 阅读全文
posted @ 2021-08-25 20:16 txwtech 阅读(269) 评论(0) 推荐(0)
摘要: 1.什么是MCP23017一款基于I2C接口控制的I/O扩展模块,可外扩16个I/O口,支持同时使用多达8个扩展模块,即可扩至128个I/O口,兼容3.3V和5V电平。 I2C接口控制,仅需2根信号线,即可扩展出16个I/O口,I2C通信地址可设置,短接A0/A1/A2焊点可修改通信地址 提供PH2 阅读全文
posted @ 2021-08-24 08:43 txwtech 阅读(558) 评论(0) 推荐(0)
摘要: c#语音播报播放语音功能 public void Speaking(string saying) { string say = saying; Task task = new Task(() => { SpeechSynthesizer speech = new SpeechSynthesizer( 阅读全文
posted @ 2021-08-23 14:08 txwtech 阅读(1139) 评论(0) 推荐(0)
摘要: F:\code-2.0-canary\device\hisilicon\hispark_pegasus\sdk_liteos\build\config\usr_config.mk 文件中新增CONFIG_PWM_SUPPORT=y https://blog.csdn.net/txwtech/arti 阅读全文
posted @ 2021-08-22 16:08 txwtech 阅读(101) 评论(0) 推荐(0)
摘要: 鸿蒙开发板Hi3861_通过GPIO2中断控制LED D10——基于code-2.0-CANARY //通过GPIO2中断控制LED D10, D10 接一个LED的长脚,LEd的短脚接GND//D2接一个常开开关的一端,开关的另外一端接到板子的GND,by txwtech //通过GPIO2中断控 阅读全文
posted @ 2021-08-21 21:57 txwtech 阅读(404) 评论(1) 推荐(0)
摘要: #include <stdio.h> #include "ohos_init.h" #include "cmsis_os2.h" #include "iot_gpio.h" #include "hi_io.h" static void GpioTask(void *arg) { (void) arg 阅读全文
posted @ 2021-08-21 17:45 txwtech 阅读(113) 评论(0) 推荐(0)
摘要: 鸿蒙开发板hi3861 hispark code 2.0 canary金丝雀版本,gpio如何上拉电阻呢? code 2.0 LTS支持,canary没有这个功能呢 IoSetPull(WIFI_IOT_IO_NAME_GPIO_8, WIFI_IOT_IO_PULL_UP); https://ha 阅读全文
posted @ 2021-08-19 09:17 txwtech 阅读(109) 评论(0) 推荐(0)
上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 124 下一页