alduxvm / pyMultiWii

MultiWii Serial Protocol (MSP) API to send and receive data from firmware using MSP
GNU General Public License v3.0
153 stars 84 forks source link

Error when running the example(folder test) #40

Open GrozaRobotovFPV opened 1 year ago

GrozaRobotovFPV commented 1 year ago

Error:

Traceback (most recent call last): File "C:\Pyton.PROJECTS\pythonProject1\MyFile.py", line 18, in board = MultiWii("/dev/ttyUSB0") File "C:\Pyton.PROJECTS\pythonProject1\venv\lib\site-packages\pymultiwii__init.py", line 79, in init__ self.ser = serial.Serial() AttributeError: module 'serial' has no attribute 'Serial'

What am I doing wrong?

Niko-La commented 9 months ago

@GrozaRobotovFPV pip install pyserial