#ifndef __SERIAL_H__
#define __SERIAL_H__   1

enum{
	LED=20,
	LCD,
	SPEAKER,
}serialmsg_type_t;


enum{
	ON=100,
	OFF,
	DISPLAY_TEMP,
	DISPLAY_NUM,
	DISPLAY_MSG,
}serialmsg_cmd_t;

typedef struct
{
	uint8_t type;
	uint8_t cmd;
}msg_header_t;

typedef struct cmd_msg
{
	msg_header_t header;
	uint8_t *payload;
}cmd_msg_t;

#endif
