Thanks cbastard for the usefull help!
Type: Posts; User: Andy_P
Thanks cbastard for the usefull help!
Yes, no usable results
Is there anyone who can share a binary (16bit) to BCD conversion?
As a newbie I was trying to declare an ASCII string ending with a "0", but got a compiler error.
constant char STRING[7] = {"string",0};
What is wrong?
Variable name length is what I meant.
What is the maximum variable def length in ANSI C.
I think it is 32 characters. Is this correct?
Yes of course, my fault, just a beginner in C, thank you very much
Who can I convert a word (int or 16 bits) to 2 bytes (char or 8 bits)
I tried follolowing but it didn't work:
TX_Buffer[length] = (char)(crc<<8) ;
TX_Buffer[length+1] = (char)(crc && 0x00ff);...