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
FreePIE and pySerial ("port COM3 access denied")
-
- One Eyed Hopeful
- Posts: 1
- Joined: Tue Dec 06, 2016 11:27 am
-
- One Eyed Hopeful
- Posts: 14
- Joined: Thu Dec 01, 2016 7:36 pm
Re: FreePIE and pySerial ("port COM3 access denied")
I had a lot of trouble importing the numpy module because it uses certain system files that FreePIE doesn't have access to. FreePIE can't read from the local Python install's system path, you have to include everything inside FreePIE's folder, and even then I've only had success with pure python files. Hope this helps
-
- One Eyed Hopeful
- Posts: 3
- Joined: Thu Dec 22, 2016 3:30 pm
Re: FreePIE and pySerial ("port COM3 access denied")
How did you install pySerial ??
I can't make it work with freePie and cant find any guide on how to do it.
I can't make it work with freePie and cant find any guide on how to do it.
-
- Petrif-Eyed
- Posts: 2166
- Joined: Mon Jun 22, 2009 8:36 am
- Location: Stockholm, Sweden