Announcement

Collapse
No announcement yet.

Example for switching between 2 forms on uLCD display

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Example for switching between 2 forms on uLCD display

    Hi I'm using a uLCD-32ptu screen which receives data from a sensor connected to an Arduino Uno. The sensor produces magnetic and pitch and roll angles which i want to display on cool gauges on 2 different forms, "genie.WriteObject (GENIE_OBJ_FORM, 0, 1);" . However I am unable to find any examples on how to switch between the 2 forms by pressing a button on the screen. Any examples?

  • #2
    Hi Ahmit,

    I've attached a simple example for you. The ViSi-Genie program contains 2 forms, Form0 and Form1. Form 0 contains a button and if the button is pressed it will go to Form1. Same goes to Form1, if the button is pressed, it will go back to Form0. The arduino code contains comments that could help you understand how to switch forms.

    Hope this helps.

    Attached Files
    Symon

    Comment


    • #3
      Thank you very much Symon!

      Comment

      Working...
      X