DAT290 / kod / USART / Commands.h
Commands.h
Raw
#include <USART.h>

typedef struct{
	short depth;
	short propertyCount;
	char* command;
	void (*handler)();
} Command;




void commandHandler(CommandString* commands[], short numberOfCommands);