Translate

PyMata 2.02 Maintenance Release

This release fixes a problem when using an Arduino Leonardo. Unlike the Uno, when the serial port is shut down in Pymata, the Leonardo continues reporting data updates. This can cause spurious data to be received when starting an application up after it terminates, causing PyMata to throw some exceptions. 

This release fixes this problem  by sending a Firmata Reset to the board when PyMata closes. You can now restart programs without fear of hitting an exception in PyMata.

The web page also has an example signal handler to trap for Control-C. If you hit control-c before PyMata has completed its __init__ method, an exception is thrown. By using a signal handler, control-c handling will be completely "clean" without any exceptions.

No comments:

Post a Comment