Search:

Type: Posts; User: Supadude

Search: Search took 0.00 seconds.

  1. Replies
    25
    Views
    19,031

    This makes sense.

    This makes sense.
  2. Replies
    25
    Views
    19,031

    Yeah this works for this situation, but my actual...

    Yeah this works for this situation, but my actual implementation would be something more like.




    typedef enum
    {
    BIN_TO_NMEA_MSG_ID = 0,
    DISABLE_NMEA_DEBUG,
    GGA_MSG_RATE,
  3. Replies
    25
    Views
    19,031

    Well what I am really trying to figure out is...

    Well what I am really trying to figure out is what is an efficient and non error prone way for packing serial streams of data? I will show you how I am doing it now:



    #define...
  4. Replies
    25
    Views
    19,031

    Because with a struct you can name the elements...

    Because with a struct you can name the elements of the array. Instead of having to figure out which byte offset corresponds to what value.
  5. Replies
    25
    Views
    19,031

    Could you elaborate on this?

    Could you elaborate on this?
  6. Replies
    25
    Views
    19,031

    So this shouldnt be done then. Is there any easy...

    So this shouldnt be done then. Is there any easy way to format large serial packets so that each byte doesnt have to be masked and packed individually?
  7. Replies
    25
    Views
    19,031

    Are structs sequential in memory

    If I define a struct as such:



    struct mystruct
    {
    char one;
    char two;
    char three;
    char four;
  8. Replies
    2
    Views
    1,527

    Embedded C Programming

    Hi, I have a good knowledge of C programming and a decent understanding of assembly. Im trying to learn more about embedded C programming and was wondering if anyone has any good resources I should...
Results 1 to 8 of 8