With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
This helped me a lot! However, there are a couple of pitfalls in the python script that could cause a major headache if not noticed:1) You should always remember to close the serial port when you're done using ser.close()2) There should be some way to exit out of the infinite while loop. The program is not very useful if it doesn't have a way to end. I ended my loop once count reached 255, but some other approach would work as well, perhaps watching for an end signal from the Arduino?
Let your inbox help you discover our best projects, classes, and contests. Instructables will help you learn how to make anything!
© 2016 Autodesk, Inc.