Loading...
Welcome,
Guest
. Please
login
or
register
.
May 26, 2013, 04:32:34 am
|
Arduino Forum
::
Forum 2005-2010 (read only)
::
Software
::
Interfacing
:: PySerial
« previous topic
next topic »
Pages: [
1
]
Go Down
Print
Author
Topic: PySerial (Read 260 times)
0 Members and 1 Guest are viewing this topic.
InsingerTech
0
Offline
Newbie
Karma: 0
Posts: 25
Arduino rocks
PySerial
«
on:
February 11, 2009, 05:33:02 pm »
Bigger
Smaller
Reset
Hi All.
I have been trying to use pyserial.
I have python 2.6.1 and pyserial 2.4
I have reninstalled pyserial and tried diffrent versions but nothing works.
whenever i type in "import serial" this is what happens
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import serial
File "C:\Python26\lib\site-packages\serial\__init__.py", line 18, in <module>
from serialwin32 import *
File "C:\Python26\lib\site-packages\serial\serialwin32.py", line 9, in <module>
import win32file # The base COM port and file IO functions.
ImportError: No module named win32file
Logged
imagitronics
0
Offline
Jr. Member
Karma: 0
Posts: 53
Arduino rocks
Re: PySerial
«
Reply #1 on:
February 12, 2009, 12:21:51 am »
Bigger
Smaller
Reset
Looks like you just need to install the pywin32 package for python:
http://sourceforge.net/projects/pywin32/
Logged
InsingerTech
0
Offline
Newbie
Karma: 0
Posts: 25
Arduino rocks
Re: PySerial
«
Reply #2 on:
February 12, 2009, 06:48:57 am »
Bigger
Smaller
Reset
Thanks.
Logged
InsingerTech
0
Offline
Newbie
Karma: 0
Posts: 25
Arduino rocks
Re: PySerial
«
Reply #3 on:
February 13, 2009, 06:33:05 am »
Bigger
Smaller
Reset
Now whenever i try to run my script
Code:
import serial
ser = serial.Serial("COM6", 9600)
ser.write('5')
raw_input("Press return to close this window...")
it doesn't write to serial
when i type all that into the shell manualy it works fine.
Any Ideas?
Logged
InsingerTech
0
Offline
Newbie
Karma: 0
Posts: 25
Arduino rocks
Re: PySerial
«
Reply #4 on:
February 14, 2009, 09:02:21 am »
Bigger
Smaller
Reset
Can someone please help me?
Logged
Pages: [
1
]
Go Up
Print
« previous topic
next topic »
|
Arduino Forum
::
Forum 2005-2010 (read only)
::
Software
::
Interfacing
:: PySerial
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
-----------------------------
Using Arduino
-----------------------------
=> Installation & Troubleshooting
=> Project Guidance
=> Programming Questions
=> General Electronics
=> LEDs and Multiplexing
=> Displays
=> Audio
=> Motors, Mechanics, and Power
=> Sensors
=> Networking, Protocols, and Devices
=> Interfacing w/ Software on the Computer
-----------------------------
Topics
-----------------------------
=> E-Textiles and Craft
=> Robotics
=> Science and Measurement
=> Home Automation and Networked Objects
=> Device Hacking
=> Education and Teaching
=> Interactive Art
=> Product Design
-----------------------------
Development
-----------------------------
=> Suggestions for the Arduino Project
=> Other Hardware Development
=> Other Software Development
-----------------------------
Community
-----------------------------
=> Website and Forum
=> Products and Services
=> Gigs and Collaborations
=> Workshops and Events
=> Local Groups
=> Exhibition / Gallery
=> Bar Sport
-----------------------------
International
-----------------------------
=> Deutsch
=> Español
=> Français
=> Italiano
=> Portugues
=> Scandinavia
-----------------------------
Forum 2005-2010 (read only)
-----------------------------
===> Uno Punto Zero
===> Bar Sport
===> Frequently-Asked Questions
===> News
===> Exhibition
===> Workshops
===> Interfacing
===> Bugs & Suggestions
===> Development
===> Troubleshooting
===> Portugues
===> Deutsch
===> Español
===> Français
===> Italiano
===> Scandinavia
===> Development
===> Interfacing
===> Syntax & Programs
===> Bugs & Suggestions
===> Troubleshooting
===> Report Spam at Arduino.cc
===> Forum
===> Playground Wiki
=> General
=> Hardware
=> Software
=> International
=> Web/Forum/Email/Spam
-----------------------------
Using Arduino
-----------------------------
=> Storage
=> Microcontrollers
-----------------------------
International
-----------------------------
===> Humor y Debate
===> Talleres, Encuentros, ...
===> Tutoriels et cours
===> Réalisations et Projets Finis
===> Le bar
=> Nederlands
===> Software
===> Hardware
===> Proyectos
===> Documentación
=> India
===> Hardware
===> Software
===> Megatopic
-----------------------------
Products
-----------------------------
=> The Arduino Starter Kit
=> Arduino Due
-----------------------------
International
-----------------------------
===> Generale
-----------------------------
Products
-----------------------------
=> Arduino Esplora
=> Arduino GSM Shield
-----------------------------
Maker Faire Rome - The European Edition
-----------------------------
=> Makers
=> Events and Tour
Loading...