hgpa
2016-11-10 11:05:01
Hello!
I have a little "problem": With a rotary encoder I want to move some graphic on the screen in a program.
That does it very well, but in the same time the size of the picture shall be reduced to complete picture -
this is also very well done, but in the moment only with a extra button before the turning of the rotary encoder.
I want to combine this: On the first touch of the rotary encoder only one time the reducing of the screen,
then, the complete time I turn the rotary encoder, the moving of the picture.
With two translators normally no problem, but I have no plan, how to achieve, that the first translator
only acts the first time.
And: when I turn the rotary some time later, also the first translator shall do the reduction,
therefore a global variable seemes also not to be the solution....
Has anybody out there an idea?
Thanks for thinking!
HG
I have a little "problem": With a rotary encoder I want to move some graphic on the screen in a program.
That does it very well, but in the same time the size of the picture shall be reduced to complete picture -
this is also very well done, but in the moment only with a extra button before the turning of the rotary encoder.
I want to combine this: On the first touch of the rotary encoder only one time the reducing of the screen,
then, the complete time I turn the rotary encoder, the moving of the picture.
With two translators normally no problem, but I have no plan, how to achieve, that the first translator
only acts the first time.
And: when I turn the rotary some time later, also the first translator shall do the reduction,
therefore a global variable seemes also not to be the solution....
Has anybody out there an idea?
Thanks for thinking!
HG