We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am trying to create multiple controlframe's where one is running GWOptics and the second Peasycam where the main sketch passes data to the controlframes. I have the GWOptics running no problem but running into issue on how to setup the second controlframe to run Peasycam. I did find this post https://discussions.zoho.com/processing/topic/controlp5-multiple-sketch-frame-windows-and-controls-on-each but can not for the life of me figure out how to get separate sketches running. I am a newbie so the problem may be me. Any help would be appreciated. I did try and use PFrame to create the second window, it worked to create the window but froze the whole sketch.
Any help would be appreciated. Mike
Answers
Update to my post. I am finally able to get Peasycam in the second applet after I cam across this post https://github.com/processing/processing/issues/2197. The second applet works fine but it crashes the calling or main sketch. As you can tell I am a newbie. Here is the test code for the second applet that I am using:
Here are the extracts of the calling applet (primary):
in setup()
Still would like to implement the second window with controlFrame and get the gps trace window working at the same time, The IMU GUI reads data from Arduino and does the visualization and when I press the gpstrace button I want the second applet to run at the same time using the gps data. Here is a link to a video that will give you an idea of what I done so far:
thanks in advance