06 2024 档案

摘要: 阅读全文
posted @ 2024-06-28 15:46 不折不扣 阅读(3) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_43290709/article/details/115084536 阅读全文
posted @ 2024-06-26 08:42 不折不扣 阅读(36) 评论(0) 推荐(0) 编辑
摘要:8051 - 在keil中添加STC型号的3种方法_stc15f104e-CSDN博客 11 阅读全文
posted @ 2024-06-24 16:31 不折不扣 阅读(12) 评论(0) 推荐(0) 编辑
摘要:资料下载: https://www.it50.cn/#/dl 阅读全文
posted @ 2024-06-17 10:17 不折不扣 阅读(11) 评论(0) 推荐(0) 编辑
摘要:while(1) { if( myusart.reflag>0) { Com_Handle(); myusart.recount=0; myusart.reflag=0; } ADS_sum_plus(i<<4|(i+1),j); //如何取三次的平均值呢,完成 if(++g>=10) //一个通道 阅读全文
posted @ 2024-06-06 14:19 不折不扣 阅读(34) 评论(0) 推荐(0) 编辑
摘要:void uart_dma_init(u32 bound){ //GPIO端口设置 GPIO_InitTypeDef GPIO_InitStructure; USART_InitTypeDef USART_InitStructure; NVIC_InitTypeDef NVIC_InitStruct 阅读全文
posted @ 2024-06-06 13:58 不折不扣 阅读(13) 评论(0) 推荐(0) 编辑
摘要:#include "bsp_dac.h" #include "math.h" //#include "stm32f10x_tim.h" //#include "stm32f10x_dma.h" //#include "stm32f10x_dac.h" //正弦波单个周期的点数 #define POI 阅读全文
posted @ 2024-06-06 09:13 不折不扣 阅读(33) 评论(0) 推荐(0) 编辑
摘要:#include "adc.h" #include "delay.h" ////////////////////////////////////////////////////////////////////////////////// //本程序只供学习使用,未经作者许可,不得用于其它任何用途 / 阅读全文
posted @ 2024-06-06 08:45 不折不扣 阅读(17) 评论(0) 推荐(0) 编辑
摘要:void TIM3_Cap_Init(u16 arr,u16 psc)//定时器3通道2输入捕获配置 { TIM_ICInitTypeDef TIM_ICInitStructure; TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; NVIC_InitTy 阅读全文
posted @ 2024-06-05 16:32 不折不扣 阅读(78) 评论(0) 推荐(0) 编辑
摘要:TIM_ICInitTypeDef TIM2_ICInitStructure; void TIM2_CH1_Cap_Init(u16 arr,u16 psc) { GPIO_InitTypeDef GPIO_InitStructure; TIM_TimeBaseInitTypeDef TIM_Tim 阅读全文
posted @ 2024-06-05 16:10 不折不扣 阅读(20) 评论(0) 推荐(0) 编辑
摘要:Capture_Init(59999,120-1); // 可捕获最小频率 72M/(120*60000)= 17*0.6=10Hz PA1 // TIM2_CH2 PA7 做为捕获通道 // 输入捕获能捕获到的最小的频率为 72M/{ (ARR+1)*(PSC+1) } void Capture_ 阅读全文
posted @ 2024-06-04 17:19 不折不扣 阅读(31) 评论(0) 推荐(0) 编辑
摘要:#include "led.h" #include "delay.h" #include "key.h" #include "sys.h" #include "usart.h" #include "timer.h" //ALIENTEK战舰STM32开发板实验9 //PWM输出实验 //技术支持:w 阅读全文
posted @ 2024-06-04 16:29 不折不扣 阅读(35) 评论(0) 推荐(0) 编辑
摘要:if(myusart.reflag>0) { Com_Handle(); myusart.recount=0; myusart.reflag=0; } main #define _maxbuf 100 typedef struct { u8 myadd; u8 rcbuf[_maxbuf]; u16 阅读全文
posted @ 2024-06-03 17:38 不折不扣 阅读(33) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示