python - Can't connect to the correct COM port in FreePIE -
Text after "div class =" itemprop = "text">
I have a code in freePIE (free programmable input emulator), which is a software that provides sensor or additional recognition I am trying to run the hardware as an input in your computer to enable it.
Well, I run the Python code:
def update (): Global Global Global Global pitch deviation roll = ahrsImu.yaw roll = ahrsImu.roll pitch = ahrsImu.pitch vireioSMT.yaw = deviation - cyaw vireioSMT.roll = roll - croll vireioSMT.pitch = pitch - cpitch diagnostics.watch (Vichln- cyaw) diagnostics.watch (roll croll) diagnostics.watch (pitch cpitch) If early: cyaw = 0 croll = 0 cpitch = 0 ahrsImu.update + = update Center = keyboard.getPressed (Key.Z) if the center: cyaw = Yav Krol = roll cpitch = pitch
when I Try to get this error popped up to run:
Well, there is no serial configuration in the software, C ohm 3 is actually not in existence and nothing in it Not connected, only my Arduino is in COM6, which would be right to run this code, but I can not get it to link with it.
I've tried to add this piece of code to the start,:
port = serialport ( "COM6", 115200) port.Open ()
<
There was no change, one The problem is the same.
.dll is added FreePIE if it will be error now, instead it would work correctly: The problem is that this code segment "vireioSMT" which is available on FreePIE There is a plugin for using it.
Comments
Post a Comment