Search:

Type: Posts; User: Andy_P

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    5,187

    Thanks cbastard for the usefull help!

    Thanks cbastard for the usefull help!
  2. Replies
    4
    Views
    5,187

    Yes, no usable results

    Yes, no usable results
  3. Replies
    4
    Views
    5,187

    Binary to BCD conversion

    Is there anyone who can share a binary (16bit) to BCD conversion?
  4. Replies
    5
    Views
    1,113

    strings of ASCII

    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?
  5. Replies
    3
    Views
    1,442

    Variable name length is what I meant.

    Variable name length is what I meant.
  6. Replies
    3
    Views
    1,442

    variable def in ANSI C

    What is the maximum variable def length in ANSI C.
    I think it is 32 characters. Is this correct?
  7. Replies
    3
    Views
    9,945

    Yes of course, my fault, just a beginner in C,...

    Yes of course, my fault, just a beginner in C, thank you very much
  8. Replies
    3
    Views
    9,945

    Word to byte (or INT to CHAR)

    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);...
Results 1 to 8 of 8