FreePIE and pySerial ("port COM3 access denied")
Posted: Tue Dec 06, 2016 11:50 am
Hello,
I'm trying to read potentiometer values from Arduino using pySerial-library. I managed to install the library (or at least FreePIE doesn't give any errors when I run "import serial"), but when I run command "serial.Serial("COM3", 9600)" (which should open the port), FreePIE gives me this error: "access to port COM3 is denied". (Or something like that. I'm not sure how it's exactly in English, because my computer's language is Finnish...) But when I use this same library in Python, it works just fine.
So my guestion is, have anyone here managed to use pySerial with FreePIE? Or is there any better ways to read values from Arduino?
Thanks
Aaro
I'm trying to read potentiometer values from Arduino using pySerial-library. I managed to install the library (or at least FreePIE doesn't give any errors when I run "import serial"), but when I run command "serial.Serial("COM3", 9600)" (which should open the port), FreePIE gives me this error: "access to port COM3 is denied". (Or something like that. I'm not sure how it's exactly in English, because my computer's language is Finnish...) But when I use this same library in Python, it works just fine.
So my guestion is, have anyone here managed to use pySerial with FreePIE? Or is there any better ways to read values from Arduino?
Thanks
Aaro