char bufer[3]={0,0,0};char c1=2;char c2=4;//трах-тибидох-слепляем!bufer[0]=c1+'0';bufer[1]=c2+'0';//bufer - строка "24\0"
char bufer[100];::memset(bufer,0,sizeof(bufer));sprintf(bufer,"%d%d",2,4);
#define LOBYTE(w) ((uint8_t)((uint16_t)(w)))#define HIBYTE(w) ((uint8_t)((uint16_t)(w) >> 8))#define MAKEWORD(a,b) ((uint16_t)(((uint8_t)(a)) | ((uint16_t)((uint8_t)(b))) << 8))