用宏实现HEX到ASCII ,ASCII 到HEX
摘要:#define HEX2ASCII(value, data)do{\ value = (value > 0x09)?(value+0x7):value; \ *data = value + 0x30; \ }while(0)#define ASCII2HEX(value, data)do{\ val...
阅读全文
posted @ 2015-03-09 20:00