09-13-2017 07:47 AM
Hi all I want to read a code communication to C51 by RS232,if define constant send as : char dataBuffer[10]={0x02,0xFD}; ComWrt(2,dataBuffer,strlen(dataBuffer)); ComWrtByte(comport, 0x02); ComWrtByte(comport, 0xFD); It's OK . Now I want to use Numberic Control write anyone such(02FD,02FB,0xF7)can identify as define constant(0x02,0xFD),how to converter it .Thanks for your help any!
09-13-2017 08:39 PM
I think you should use a String control instead of a Numeric control. Or you should convert the numeric type to char.
09-18-2017 03:24 AM
I would use sprintf