Skip to main content
Associate
May 23, 2024
Solved

TouchGFX Password save

  • May 23, 2024
  • 1 reply
  • 2786 views

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

 

 

Best answer by JTP1

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

1 reply

JTP1Best answer
Graduate II
May 23, 2024

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

HaJottAuthor
Associate
May 24, 2024

Hi JTP,

thx a lot

that helped !!

BR

HaJott