Skip to main content
MA.21
Associate III
November 15, 2022
Question

space character

  • November 15, 2022
  • 4 replies
  • 2385 views

as i include

Unicode::snprintf(textArea1Buffer, TEXTAREA1_SIZE, "%s%d\n", textArea1Buffer, pda[i]);

   //textArea1.invalidate();

    textArea1.invalidate();

it works when i replace \n with \t show fallback characte(?)

what is actually happen

also add

wildcard range from 0x20 to 0x7f

0693W00000WIOI8QAP.png

This topic has been closed for replies.

4 replies

MA.21
MA.21Author
Associate III
November 15, 2022

result shows second text on 2nd text area but 1st shows ? character0693W00000WIOIrQAP.png

MA.21
MA.21Author
Associate III
November 15, 2022

code0693W00000WIOJLQA5.png

MM..1
Chief III
November 15, 2022

Where in your code is space?

\t is binary char ...

That's something controlled by your terminal, not by printf. TGFX not control tabs.

Tesla DeLorean
Guru
November 15, 2022

@Yoann KLEIN​ forked from https://community.st.com/s/question/0D53W00001vdOIwSAM/spae?t=1668535033904

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..