![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
stm32
清歌孤我深蓝
...
展开
-
esp8266作为wifi与手机互传数据
指令参考安信可官方指令。无线模块_蓝牙模块_ESP32-C3_WiFi|物联网模块【安信可】目录1.esp8266.c代码,另外需要配置usart3与定时器2.esp8266.h代码3.main.c4.手机端的连接5.连接端口,子网掩码192.168.4.1 端口80006.手机端软件1.esp8266.c代码,另外需要配置usart3与定时器#include "esp8266.h"#include "string.h"#include "usart...原创 2022-04-20 14:48:09 · 12238 阅读 · 0 评论 -
8路灰度传感器与stm32f1
目录1.连接2.adc配置3.主函数1.连接2.adc配置 #include "adc.h" #include "delay.h" //初始化ADCvoid Adc_Init(void){ /*定义两个初始化要用的结构体,下面给每个结构体成员赋值*/ ADC_InitTypeDef ADC_InitStructure; GPIO_InitTypeDef GPIO_InitStructure; /* 使能GPIOA原创 2022-03-31 14:10:27 · 8242 阅读 · 4 评论 -
atk301指纹识别模块-stm32-串口实现
stm32-atk301指纹模块-原创 2022-03-25 11:54:33 · 4962 阅读 · 2 评论 -
STM32与呼吸灯
#include "led.h"int main(void) { u16 cycle=1000,i,pwm=0,a; delay_init(); //延时函数初始化 LED_Init(); //初始化与LED连接的硬件接口 while(1) { for(i=0;i<cycle;i++) { LED0=1; LED1=1; } for(i=0;i<cycle-pwm;i++) { LED0=0; LED1=0; ...原创 2022-03-20 15:39:33 · 106 阅读 · 0 评论 -
STM32与51单片机串口1连接
rx连接tx,tx连接rx,gnd连接gnd原创 2022-03-20 15:34:02 · 1913 阅读 · 2 评论