2024-05-23 09:45 AM
Hi all,
as I'm new to TouchGFX I'm struggeling on a problem hat does not look difficult at first glance.
My problem:
On screen_1 there is a Text Area allowes the use to enter a string as input.
The entered string is needed on screen_2. As far as I know, this has to be done via model files (cpp and hpp).
I tried to setup a variable (Unicode::UnicodeChar string_A[10]) in model.hpp but unfortunately I get a compiler error "Unicode....... is not declared.. ) although I have included Unicode.hpp (#include <touchgfx/Unicode.hpp>) in model.hpp.
I looked at tutorial 3 which shows me how to get integer values from one screen to another and it works.
What am I doing wrong and how can I fix this problem.
Thx in advance
Solved! Go to Solution.
2024-05-23 11:24 AM
Hello
I thinki you must put like
touchgfx::Unicode::UnicodeChar string_A[10];
to model.hpp, and of course have
#include <touchgfx/Unicode.hpp>
like you allready had.
Hope this helps.
Br JTP
2024-05-23 11:24 AM
Hello
I thinki you must put like
touchgfx::Unicode::UnicodeChar string_A[10];
to model.hpp, and of course have
#include <touchgfx/Unicode.hpp>
like you allready had.
Hope this helps.
Br JTP
2024-05-24 02:07 AM
Hi JTP,
thx a lot
that helped !!
BR
HaJott