python - why isnt my arduino working with serial? -


i trying use wii nunchuk mouse arduino. project here.

here error message: photo

if wondering why not posting on page, because several years old , noone goes on there anymore.

in python script, forgot initialize baud rate when defining serial object "port"

# port arduino board connected port = 'arduino_port' 

try instead,

# port arduino board connected port = serial.serial('/dev/ttyacm0',9600)   #or whatever port called 

Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -