![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
stm32
是大糊涂不聪明
写博客的目的是为了方便自己,经常找不到需要的程序,记本子上又容易丢...
如果有错误的地方啊,麻烦指出来哈
展开
-
stm32f4简单串口实现
#include "stm32f4xx.h"#include "usart.h"#include "delay.h"void My_USART1_Init(void){ GPIO_InitTypeDef GPIO_InitStructure; USART_InitTypeDef USART_InitStructure; NVIC_InitTypeDef NVIC_InitStructure; RCC_APB2PeriphClockCmd(RCC_APB2Periph_USA原创 2020-11-30 23:26:51 · 699 阅读 · 0 评论 -
stm32f407的串口调试助手乱码
1.主程序如下:int main(void){ u32 t=0; uart_init(115200); delay_init(84); while(1) { printf("t:%d\r\n",t); delay_ms(2000); t++; //if(t==40) //break; }}2.本来是乱码的因为默认的波特率为9600改成115200就行了正常显示...原创 2020-11-30 11:46:29 · 962 阅读 · 1 评论 -
stm32如何查看串口
请按照标题操作因为截图中红色框都是错的哈哈哈哈1.控制面板2.点击硬件和声音3.设备管理器4原创 2020-11-30 11:04:30 · 1409 阅读 · 0 评论