自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 1_1 嵌入式学习笔记——C语言中的基本数据类型

嵌入式C语言学习笔记——基本数据类型

2023-03-03 11:04:08 204

原创 二、esp32-GPIO例程程序

这个测试代码展示了如何配置GPIO以及如何在中断时使用它。测试方法:1.连接GPIO18和GPIO42.连接GPIO19和GPIO53.在GPIO18/19上产生脉冲,触发GPIO4/5上的中断//GPIO 例程#include <stdio.h>#include <string.h>#include <stdlib.h>#include "freertos/FreeRTOS.h"#include "freertos/task.h"#inc.

2022-03-13 21:13:01 816

原创 一、esp32-blink程序

基于esp-idf,实现esp32开发板上led灯的闪烁。main.c中程序如下。#include <stdio.h>#include "freertos/FreeRTOS.h"#include "freertos/task.h"#include "driver/gpio.h"#define BLINK_GPIO CONFIG_BLINK_GPIOstatic uint8_t s_led_state = 0;static void blink_led(void){ .

2022-03-09 18:14:35 882

原创 二、ESP-IDF库函数之RTC GPIO

RTC GPIO1. 函数rtc_gpio_is_valid_gpio2. 函数rtc_gpio_init3. 函数rtc_gpio_deinit4. 函数rtc_gpio_get_level5. 函数rtc_gpio_set_level6. 函数rtc_gpio_set_direction7. 函数rtc_gpio_pullup_en8. 函数rtc_gpio_pulldown_en9. 函数rtc_gpio_pullup_dis10. 函数rtc_gpio_pulldown_dis1. 函数rtc_g

2022-03-09 16:25:11 908

原创 一、ESP-IDF库函数之GPIO

GPIO(包括RTC底层I/O)1. 函数gpio_config2. 函数gpio_set_intr_type3. 函数gpio_intr_enable4. 函数gpio_intr_disable5. 函数gpio_set_level6. 函数gpio_get_level7. 函数gpio_set_direction8. 函数gpio_set_pull_mode9. 函数gpio_wakeup_enable10. 函数gpio_wakeup_disable11. 函数gpio_isr_register12.

2022-03-09 12:14:34 3561

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除