Hey everybody, I have two separate GUI codes each that run perfectly on their own.
I now want to combine these two code so I can see both GUI on my computer at the same time. I want both GUI to continuously update their data serially via the same COM port.
I was wondering if anyone knew if their was a tool that would convert Python code into processing code. Or if anyone knew how to do it, or knew of tutorials on how to do it or could help in anyway.
Im hoping to try and make a GUI for my IMU 9DOF "Sensor Stick" sensor and I'm not the best with code so Im hoping 4 some help. Thanks everyone! :)
This is the code im hoping to convert into processing.
from visual import *
import serial
import string
import math
from time import time
grad2rad = 3.141592/180.0
# Check your COM port and baud rate
ser = serial.Serial(port='COM9',baudrate=57600, timeout=1)