cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED] How to print text string on the screen ?

I am able to print numbers using Wildcard Characters = "0123456789-" and Wildcard Range = "0-9" but I cannot print normal test like "IR event received".

I see only the first character so "I" or "I????????", why ?

test1

Unicode::snprintf(IRBuffer, IR_SIZE, "%s", "IR event received");

test2

   Unicode::strncpy(IRBuffer, "IR event received %i", 200);

test3

   touchgfx::Unicode::UnicodeChar tmpfmt[200];

   touchgfx::Unicode::strncpy(tmpfmt, "IR event received %i", 200);

   touchgfx::Unicode::snprintf(IRBuffer, IR_SIZE, tmpfmt);

   IR.setWildcard(IRBuffer);

   IR.resizeToCurrentText();

   IR.invalidate();

0690X00000AsYsZQAV.jpg

0690X00000AsYqJQAV.jpg0690X00000AsYqEQAV.jpg

7 REPLIES 7
d.v.
Associate II

Hi,

have you tried to set Wildcard ranges 0x00-0xff ?

0690X00000AsYs5QAF.jpg

Hi,

I have no error using 0x00-0xFF… sorry …. Hope someone else has a better idea for you

Dario Volta

SW/FW Engineer – Solar Division

@

d.volta@fimer.com<mailto:d.volta@fimer.com> | T +39 039 98981 | www.fimer.com<https://www.fimer.com

>

[cid:

image73e075.GIF@4a378b58.46ba3ffe

]

According to EU Reg: 2016/679 and to the Italian Data Protection Authority’s Guidelines Applying to the Use of E-Mails and the Internet in the Employment Context, it is hereby released that the information contained in this e-mail and its attachments may be confidential and are, however, addressed exclusively to the person or the company mentioned in the e-mail address. The information can’t be qualified as personal communication, so possible replies may be processed by other Company’s employees

Confidentiality Notice :

www.fimer.com/en/privacy<https://www.fimer.com/en/privacy>

Da: ST Community [mailto:

Inviato: giovedì 28 novembre 2019 10:06

A: Dario Volta

Oggetto: Ciuffoly

www.audiodesignguide.com

answered: How to print text string on the screen ?

[Image: txt3]

[

https://community.st.com/img/userprofile/default_profile_45_v2.png?fromEmail=1]<https://community.st.com/0050X000009yFw7?fromEmail=1&s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&s1uid=0050X0000089TO3&s1ext=0&emkind=chatterCommentNotification&emtm=1574931972582

>

Ciuffoly

www.audiodesignguide.com<https://community.st.com/0050X000009yFw7?fromEmail=1&s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&s1uid=0050X0000089TO3&s1ext=0&emkind=chatterCommentNotification&emtm=1574931972582

> (Community Member)

[Image placeholder for txt3]

txt3

[Rettangolo arrotondato: View/Answer]

or reply to this email

Replying to

How to print text string on the screen ?

[

https://community.st.com/img/userprofile/default_profile_45_v2.png?fromEmail=1]<https://community.st.com/0050X0000089TO3?fromEmail=1&s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&s1uid=0050X0000089TO3&s1ext=0&emkind=chatterCommentNotification&emtm=1574931972582

>

d.v.<

https://community.st.com/0050X0000089TO3?fromEmail=1&s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&s1uid=0050X0000089TO3&s1ext=0&emkind=chatterCommentNotification&emtm=1574931972582

> (Community Member)

Thursday, November 28, 2019 1:02 AM<

https://community.st.com/0D70X000007PjdW?fromEmail=1&s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&s1uid=0050X0000089TO3&s1ext=0&emkind=chatterCommentNotification&emtm=1574931972582

>

Hi,

have you tried to set Wildcard ranges 0x00-0xff ?

[

https://community.st.com/img/userprofile/default_profile_45_v2.png?fromEmail=1]<https://community.st.com/0050X000009yFw7?fromEmail=1&s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&s1uid=0050X0000089TO3&s1ext=0&emkind=chatterCommentNotification&emtm=1574931972582

>

Ciuffoly

www.audiodesignguide.com<https://community.st.com/0050X000009yFw7?fromEmail=1&s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&s1uid=0050X0000089TO3&s1ext=0&emkind=chatterCommentNotification&emtm=1574931972582

> (Community Member)

[Image placeholder for txt3]

txt3

Thursday, November 28, 2019 1:05 AM<

https://community.st.com/0D70X000007Pjdv?fromEmail=1&s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&s1uid=0050X0000089TO3&s1ext=0&emkind=chatterCommentNotification&emtm=1574931972582

>

You're receiving emails when someone "Comments after me."

To change or turn off ST Community email, log in<

https://community.st.com/_ui/core/feeds/notification/ChatterEmailSettings?setupid=CollaborationEmailSettings&fromEmail=1&s1oid=00Db0000000YtG6&s1nid=0DB0X000000DYbd&s1uid=0050X0000089TO3&s1ext=0&emkind=chatterCommentNotification&emtm=1574931972582> as d.volta@fimer.com.st

.

Are notifications about this post getting annoying? Reply to this email with the word " mute ".

STMicroelectronics N.V.

[ST Community]

Solved with "0x00-0xFF" (upper case), thank you

0690X00000AsYtmQAF.jpg

Odd, i'm having no issues generating unicodes with "0x0-0xff" (non capital letters). But glad it's solved for you!

/Martin

dbgarasiya
Senior II

I have same issue and solved by above solution

Thanks again

dbgarasiya
Senior II

useful solution from above post