Hello,
I'm strugling with a programming issue ( Gen4-23DT alone with Visie Genie)
I use an encoder with the functionQencoder1 : it works great, background counting without any issue.
I want to display on a leddiggit, a calculated position with the encoder counter and I would like to have this display to run alone in the background and I can't get it to work.
What I did : I used a button (in Magictouch) to activate a code which calculate and display the position (with a loop) but if I want to access other screens (for setup for example), I need to touch the screen once to exit the loop and again to activate another button. Of course, as soon as I exit the loop, the display is no more updated and I need to remember to touch the button to activate again the position display.
I tried to paste my code in the Mainloop Magic code but then, I can't get the buttons to works …
I’m probably missing a nice and smooth solution ….
Thanks for your help !
Lorenz’
I'm strugling with a programming issue ( Gen4-23DT alone with Visie Genie)
I use an encoder with the functionQencoder1 : it works great, background counting without any issue.
I want to display on a leddiggit, a calculated position with the encoder counter and I would like to have this display to run alone in the background and I can't get it to work.
What I did : I used a button (in Magictouch) to activate a code which calculate and display the position (with a loop) but if I want to access other screens (for setup for example), I need to touch the screen once to exit the loop and again to activate another button. Of course, as soon as I exit the loop, the display is no more updated and I need to remember to touch the button to activate again the position display.
I tried to paste my code in the Mainloop Magic code but then, I can't get the buttons to works …
I’m probably missing a nice and smooth solution ….
Thanks for your help !
Lorenz’
Comment