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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -