Search:

Type: Posts; User: Guddleif

Search: Search took 0.00 seconds.

  1. Thread: sprintf

    by Guddleif
    Replies
    5
    Views
    4,376

    Thanks :D

    Thanks :D
  2. Thread: sprintf

    by Guddleif
    Replies
    5
    Views
    4,376

    Thanks for the quick reply! so like this:? Also...

    Thanks for the quick reply! so like this:? Also array length of 6 is sufficient, right? The values will never be above 255

    unsigned char adc_reading_chars[6];
    sprintf(adc_reading_chars, "%i",...
  3. Thread: sprintf

    by Guddleif
    Replies
    5
    Views
    4,376

    sprintf

    Hello.

    I have two uint8_t values that i would like to combine in a char array. I know I can use sprintf to store one of them in a char array, like shown below. How do i append the other one?
    ...
Results 1 to 3 of 3