pimoroni / flotilla-python

Python library for the Pimoroni Flotilla plug-and-play electronics ecosystem
MIT License
25 stars 15 forks source link

Change speed(,,,) method to set_speed(...) #10

Closed johnbatty closed 8 years ago

johnbatty commented 8 years ago

The speed() method name conflicted with the speed attribute name. This caused an exception when calling it. set_speed(...) is also more consistent with the naming of the setter methods in the other Flotilla module classes.

Gadgetoid commented 8 years ago

Thank you! Hopefully I'll have some time to review these tomorrow. Bear in mind that the "ShipShape" branch is the most recent release, so some of these might possibly have been fixed since, but I'll do a compare between branches anyway.