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 - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -