会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
kerwin cui
Rome is not build in one day
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
8
9
···
14
下一页
2020年11月14日
cordova自定义插件开发流程
摘要: cordova自定义插件开发:1.cordova安装:npm install -g cordova2.plugman安装:npm install -g plugman3.cordova创建工程:cordova create demo com.lmr.android4.生成安卓工程:cordova p
阅读全文
posted @ 2020-11-14 10:36 kerwin cui
阅读(311)
评论(0)
推荐(0)
2020年11月13日
ESP32-使用有刷直流电机笔记
摘要: 基于ESP-IDF4.1 1 /* 2 * 刷直流电动机控制示例,代码通过L298电机芯片测试 3 */ 4 5 #include <stdio.h> 6 7 #include "freertos/FreeRTOS.h" 8 #include "freertos/task.h" 9 #include
阅读全文
posted @ 2020-11-13 21:33 kerwin cui
阅读(2133)
评论(0)
推荐(0)
ESP32-使用ADC笔记
摘要: 基于ESP-IDF4.1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include "freertos/FreeRTOS.h" 4 #include "freertos/task.h" 5 #include "driver/gpio.h" 6 #in
阅读全文
posted @ 2020-11-13 20:30 kerwin cui
阅读(2666)
评论(0)
推荐(0)
ESP32-OTA升级
摘要: 基于ESP-IDF4.1 1 #include <string.h> 2 #include "freertos/FreeRTOS.h" 3 #include "freertos/task.h" 4 #include "esp_system.h" 5 #include "esp_event.h" 6
阅读全文
posted @ 2020-11-13 11:34 kerwin cui
阅读(1423)
评论(0)
推荐(0)
2020年11月12日
ESP32-简单OTA升级
摘要: 基于ESP-IDF4.1 1 #include "freertos/FreeRTOS.h" 2 #include "freertos/task.h" 3 #include "esp_system.h" 4 #include "esp_event.h" 5 #include "esp_log.h" 6
阅读全文
posted @ 2020-11-12 23:38 kerwin cui
阅读(3151)
评论(0)
推荐(0)
ESP32-默认事件循环
摘要: 默认的事件循环是一个事件循环的系统应用发布和处理事件(例如,Wi-Fi无线事件)。 基于ESP-IDF4.1 1 #include "esp_log.h" 2 #include "freertos/FreeRTOS.h" 3 #include "freertos/task.h" 4 #include
阅读全文
posted @ 2020-11-12 19:51 kerwin cui
阅读(1521)
评论(0)
推荐(0)
ESP32-任务看门狗笔记
摘要: 看门狗机制用于监控嵌入式系统运行并在发生不可知的软硬件故障时将系统复位。系统正常运行时,看门狗定时器溢出之前会被重置计数值,也就是“喂狗”。定时器溢出意味着无法“喂狗”,系统异常。 基于ESP-IDF4.1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #
阅读全文
posted @ 2020-11-12 12:42 kerwin cui
阅读(3728)
评论(0)
推荐(0)
ESP32-性能监控笔记
摘要: 基于ESP-IDF4.1 1 #include <stdio.h> 2 #include <string.h> 3 #include <unistd.h> 4 #include "esp_timer.h" 5 #include "esp_log.h" 6 #include "esp_sleep.h"
阅读全文
posted @ 2020-11-12 12:19 kerwin cui
阅读(1355)
评论(0)
推荐(0)
ESP32高分辨率计时器笔记
摘要: 尽管FreeRTOS提供了软件计时器,但这些计时器有一些限制: 最大分辨率等于RTOS滴答周期 计时器回调从低优先级任务分派 硬件计时器不受这两个限制,但是通常它们使用起来不太方便。例如,应用组件可能需要定时器事件在将来的特定时间触发,但是硬件定时器仅包含一个用于中断产生的“比较”值。这意味着需要在
阅读全文
posted @ 2020-11-12 10:58 kerwin cui
阅读(1894)
评论(0)
推荐(0)
2020年11月11日
ESP32低功耗模式
摘要: 1.ESP32 系列芯片提供三种可配置的睡眠模式,针对这些睡眠模式,我们提供了了多种低功耗解决方案,用户可以结合具体需求选择睡眠模式并进行配置。三种睡眠模式如下: Modem-sleep 模式:CPU 可运行,时钟可被配置。Wi-Fi/蓝牙基带和射频关闭。 Light-sleep 模式:CPU 暂停
阅读全文
posted @ 2020-11-11 23:20 kerwin cui
阅读(7536)
评论(0)
推荐(0)
ESP32-mqtt笔记
摘要: 基于ESP-IDF4.1 #include <stdio.h> #include <stdint.h> #include <stddef.h> #include <string.h> #include "esp_wifi.h" #include "esp_system.h" #include "nv
阅读全文
posted @ 2020-11-11 20:49 kerwin cui
阅读(958)
评论(0)
推荐(1)
ESP32-websocket笔记
摘要: 基于ESP-IDF4.1 #include <stdio.h> #include "esp_wifi.h" #include "esp_system.h" #include "nvs_flash.h" #include "esp_event.h" #include "protocol_example
阅读全文
posted @ 2020-11-11 20:29 kerwin cui
阅读(1915)
评论(0)
推荐(0)
ESP32-http client笔记
摘要: 基于ESP-IDF4.1 #include <string.h> #include <stdlib.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_log.h" #include "esp_syst
阅读全文
posted @ 2020-11-11 16:14 kerwin cui
阅读(2784)
评论(0)
推荐(0)
ESP32-http server笔记
摘要: 基于ESP-IDF4.1 #include <esp_wifi.h> #include <esp_event.h> #include <esp_log.h> #include <esp_system.h> #include <nvs_flash.h> #include <sys/param.h> #
阅读全文
posted @ 2020-11-11 14:40 kerwin cui
阅读(2831)
评论(0)
推荐(0)
2020年11月10日
ESP32-FAT文件系统使用磨损均衡存储文件笔记
摘要: 基于ESP-IDF4.1 1 /* 2 FAT文件系统存储文件,使用磨损均衡库wear-leveling 3 */ 4 5 #include <stdlib.h> 6 #include <stdio.h> 7 #include <string.h> 8 #include "esp_vfs.h" 9
阅读全文
posted @ 2020-11-10 18:51 kerwin cui
阅读(2512)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
14
下一页
公告