Like Tree2Likes
  • 2 Post By grumpy

Type Mismatch Error

This is a discussion on Type Mismatch Error within the C Programming forums, part of the General Programming Boards category; It will look like a very basic question but i am stuck at it. I want to put the values ...

  1. #1
    Registered User
    Join Date
    Mar 2013
    Posts
    8

    Type Mismatch Error

    It will look like a very basic question but i am stuck at it.I want to put the values of "char temp_buffer[1024]" to " uint8_t UTXBuf[48]" and as soon as "UTXBuf" is full, i am transferring data from "temp_buffer[" to another buffer " uint8_t TXBuf[48]".... After that the data has to be transmitted further from UTXBuf and TXBuf.I want to again fill up the "UTXBuf" and "TXBuf" with the remaining data of temp_buffer, till the data of temp_buffer gets finished and by considering that there is no delay in transferring the data from UTXBuf and TXBuf.so in this way the process will go on in a loop.Now, the first problem is : it is simply not possible to copy char x into uint8_t y.So, what could be the solution?Second question: how to put the loop, so that there is constant data copy from temp_buffer to UTXBuf and TXBuf ?

    Any help will be highly appreciated.

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    6,624
    The first lot of help you need is here.
    Salem and Crossfire like this.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Sunshine, and read this, this, and this before posting again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 08-02-2011, 01:30 PM
  2. Data type mismatch in criteria expression ERROR
    By Aga^^ in forum C# Programming
    Replies: 2
    Last Post: 02-11-2009, 01:21 AM
  3. Strange bracket mismatch undefined class error
    By Shamino in forum C++ Programming
    Replies: 8
    Last Post: 11-19-2007, 11:36 AM
  4. Type mismatch warning
    By Opel_Corsa in forum C Programming
    Replies: 5
    Last Post: 10-11-2006, 11:34 AM
  5. Simple parameter mismatch error
    By Yasir_Malik in forum C++ Programming
    Replies: 5
    Last Post: 12-14-2004, 04:09 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21