2019-11-28 12:56 AM
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();
2019-11-28 01:02 AM
Hi,
have you tried to set Wildcard ranges 0x00-0xff ?
2019-11-28 01:05 AM
2019-11-28 01:12 AM
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
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.<
> (Community Member)
Thursday, November 28, 2019 1:02 AM<
>
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<
>
You're receiving emails when someone "Comments after me."
To change or turn off ST Community email, log in<
.
Are notifications about this post getting annoying? Reply to this email with the word " mute ".
STMicroelectronics N.V.
[ST Community]
2019-11-28 01:14 AM
Solved with "0x00-0xFF" (upper case), thank you
2019-11-28 05:41 AM
Odd, i'm having no issues generating unicodes with "0x0-0xff" (non capital letters). But glad it's solved for you!
/Martin
2019-11-29 09:05 PM
I have same issue and solved by above solution
Thanks again
2019-12-28 01:08 AM
useful solution from above post