摘要: 阅读全文
posted @ 2024-06-28 15:46 不折不扣 阅读(1) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_43290709/article/details/115084536 阅读全文
posted @ 2024-06-26 08:42 不折不扣 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 8051 - 在keil中添加STC型号的3种方法_stc15f104e-CSDN博客 11 阅读全文
posted @ 2024-06-24 16:31 不折不扣 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 资料下载: https://www.it50.cn/#/dl 阅读全文
posted @ 2024-06-17 10:17 不折不扣 阅读(3) 评论(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 不折不扣 阅读(3) 评论(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 不折不扣 阅读(1) 评论(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 不折不扣 阅读(5) 评论(0) 推荐(0) 编辑
摘要: #include "adc.h" #include "delay.h" ////////////////////////////////////////////////////////////////////////////////// //本程序只供学习使用,未经作者许可,不得用于其它任何用途 / 阅读全文
posted @ 2024-06-06 08:45 不折不扣 阅读(4) 评论(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 不折不扣 阅读(4) 评论(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 不折不扣 阅读(3) 评论(0) 推荐(0) 编辑