jmsv / l293d

Python module to drive DC motors from a Raspberry Pi using the L293D chip

Home Page:http://l293d.rtfd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix 'motor' and 'Motor' definitions

jmsv opened this issue · comments

When plans were made to add stepper motor support, Motor was renamed to DC, see #48.
I thought this would be better done sooner rather than later, although people were already using Motor, for example at:

This could be fixed by creating classes inheriting from DC, printing a deprecation warning before calling DC.__init__