摘要:
error: #5: cannot open source input file "spi.h": No such file or directory 1.出现这种问题,首先要确认头文件的命名要与文件名一致,如下: #ifndef _SPI_H #define _SPI_H #endif 2.添加路 阅读全文
摘要:
1.建立工程,配置好串口 2.核心:添加新文件usar_fputc.c (名字随便自己命名),把文件添加到项目中去 #include "stdio.h" #include "stm32f1xx_hal.h" extern UART_HandleTypeDef huart1; uint8_t ch; 阅读全文