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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -