#include "stm32f3xx_hal.h"
UART_HandleTypeDef huart2;
#define TXBUFFERSIZE1 COUNTOF(TxBuffer1)
#define TXBUFFERSIZE2 COUNTOF(TxBuffer2)
#define COUNTOF(__BUFFER__) (sizeof(__BUFFER__) / sizeof(*(__BUFFER__)))
static __IO ITStatus UartReady = RESET;
uint8_t TxBuffer1[] = "第一个字符串";
uint8_t TxBuffer2[] = “第二个字符串";
void SystemClock_Config(void);
static void MX_GPIO_Init(void);
static void MX_USART2_UART_Init(void);
int main(void)
{
HAL_Init();
SystemClock_Config();
MX_GPIO
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |