This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "stm32f10x.h" | |
#include "stm32f10x_conf.h" | |
int main(void) | |
{ | |
GPIO_InitTypeDef GPIO_InitStructure; | |
USART_InitTypeDef USART_InitStructure; | |
uint16_t rxbuf[64]; | |
int rxbuf_pos = 0; |