单片机c语言16位加法程序,单片机C语言的十六进制(HEX)转BCD码程序
void HEXtoBCDData(void){unsigned char ucHEXdata[10] = {0},ucBCDdata[10] = {0};unsigned int uiHEXdata = 0;unsigned long int ulHEXdata = 0;//[color=#00ff][size=4]单字节HEX码转换为BCD型数据[/size][/color]ucHEXdata...