会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
李元芳X1
博客园
首页
新随笔
联系
订阅
管理
2023年4月16日
Mac版的Safari如何永久修改浏览器ua
摘要: 网上给的答案大多让你打开Safari的开发者,然后改用户代理换ua,一点用都没有,用一会儿就变回去了。 这是永久的方法 Mac的终端输入 ```bash defaults write com.apple.Safari CustomUserAgent "\"Mozilla/5.0 (Macintosh
阅读全文
posted @ 2023-04-16 09:46 松果工作室
阅读(621)
评论(0)
推荐(0)
2023年1月28日
按键扫描状态机
摘要: void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) { if (htim->Instance == TIM10) { switch (KeyState) { case KEY_CHECK: if (HAL_GPIO_ReadPin(
阅读全文
posted @ 2023-01-28 21:00 松果工作室
阅读(56)
评论(0)
推荐(0)
2023年1月13日
NVS
摘要: /* * SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: CC0-1.0 */ #include <stdio.h> #include "sdkcon
阅读全文
posted @ 2023-01-13 21:33 松果工作室
阅读(542)
评论(0)
推荐(0)
2023年1月5日
模拟IIC
摘要: /** 开引脚的时钟:RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB,ENABLE); */ #define I2C_SCL GPIO_Pin_6 #define I2C_SDA GPIO_Pin_7 #define GPIO_I2C GPIOB #defin
阅读全文
posted @ 2023-01-05 17:03 松果工作室
阅读(89)
评论(0)
推荐(0)
2023年1月2日
消息队列+串口事件
摘要: #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/ledc.h" #include "esp_err.h" #include "string.h" #includ
阅读全文
posted @ 2023-01-02 19:57 松果工作室
阅读(120)
评论(0)
推荐(0)
自主设置串口并测试
摘要: #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/ledc.h" #include "esp_err.h" #include "string.h" #includ
阅读全文
posted @ 2023-01-02 19:38 松果工作室
阅读(76)
评论(0)
推荐(0)
串口回环测试
摘要: #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/ledc.h" #include "esp_err.h" #include "string.h" #includ
阅读全文
posted @ 2023-01-02 19:02 松果工作室
阅读(179)
评论(0)
推荐(0)
2022年12月31日
消息队列
摘要: #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/ledc.h" #include "esp_err.h" #include "string.h" #includ
阅读全文
posted @ 2022-12-31 20:56 松果工作室
阅读(32)
评论(0)
推荐(0)
线程资源监视,需menuconfig->FreeRTOS->开启trace
摘要: #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/ledc.h" #include "esp_err.h" #include "string.h" #define
阅读全文
posted @ 2022-12-31 20:10 松果工作室
阅读(112)
评论(0)
推荐(0)
定时器
摘要: #include <stdio.h> #include <string.h> #include <unistd.h> #include "esp_timer.h" #include "esp_log.h" #include "esp_sleep.h" #include "sdkconfig.h" s
阅读全文
posted @ 2022-12-31 18:17 松果工作室
阅读(194)
评论(0)
推荐(0)
下一页
公告