DAT290 / kod / USART / USART.h
USART.h
Raw
// USART header
#include <stm32f4xx_usart.h>
#include <stm32f4xx.h>
#include <misc.h> // NVIC

typedef struct{
		char* command;
		short commandLength;
}CommandString;


void initUSART(void);
void printChar(char c);
char readChar(void);
void runUSART(void);