First: Im a NOOB.
Second: cant connect python to my com3(usb) where my arduino mega is located.
pyserial 32bit and python 32bit, running on win7 64bit.
Here is the python code and result.
----------------------------------------
>>>ser = serial.Serial('COMM3', 9600)
ser.write('hello world')
Traceback (most recent call last):
File "<pyshell#16>", line 1, in <module>
ser = serial.Serial('COMM3', 9600)
File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 30, in __init__
SerialBase.__init__(self, *args, **kwargs)
File "C:\Python27\lib\site-packages\serial\serialutil.py", line 260, in __init__
self.open()
File "C:\Python27\lib\site-packages\serial\serialwin32.py", line 56, in open
raise SerialException("could not open port %s: %s" % (self.portstr, ctypes.WinError()))
SerialException: could not open port COMM3: [Error 2] Systemet finner ikke angitt fil. (Norwegian: cant find file)>>>
Am i missing something in the python program or...?
Karl
Did i mention i started with python today?
