//用的是STM32F107VCT 25MHz的外部晶振
//固件库是V3.5的
//想实现串口通信(USART2),却怎么也发不出去数据,求看看是哪里出错了,我新手。。。谢谢啦!
#include "stm32f10x.h"
void RCC_Configuration(void);
void GPIO_Configuration(void);
void USART_Configuration(void);
int main()
{
vu16 i=0,k=0;
u8 Reset[4]={0x56,0x00,0x26,0x00};
u8 ReceiveCmd[9];
RCC_Configuration();
GPIO_Configuration();
USART_Configuration();
<span style="font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 22px; text-align: left; "> for(i=0;i |