PLUS+1 Hardware > Displays

Generating unicode symbols in C POUs (DM430E)

<< < (2/2)

williamk:
I finally just found success using a ST-POU to generate the string using the same method as the string section in the help menu showed.  It's not the perfect solution because all the other code in my program is in C, but it will do for now.


FUNCTION WSTRING_TEST : DINT
VAR_OUTPUT
  wFault_X : STRING;
END_VAR

wFault_X := 'TEST$C2$B0';


This successfully prints "TEST°" on the display.

Thanks for the help!

Navigation

[0] Message Index

[*] Previous page

Go to full version