AttributeError when...
 
Notifications
Clear all

AttributeError when running your code


beb21939f6a5a1e3b48faa2d5eed358a?s=80&d=mm&r=g
Posts: 0
 Anonymous
Guest
(@Anonymous)
Joined: 1 second ago

Hello I am getting this error while running your code:''
I am using your code to attempt to test reading data from Arduino Uno R3 serial port on my raspberry pi 3 +
I have followed your instructions.
 
Python 3.7.3 (/usr/bin/python3)
>>> %Run Ser_Tesst_shrt.py
Traceback (most recent call last):
File "/home/pi/Documents/PyDev/Ser_Tesst_shrt.py", line 4, in <module>
ser = serial.Serial(port="/dev/ttyAMC0"),
AttributeError: module 'serial' has no attribute 'Serial'
>>>

Share:
Join Us!
Recent Posts
Last Articles
DIY Projects
DIY Projects