Control a DC motor via a standard H-bridge using a PwmOut pin to control speed and two DigitalOut pins to control direction. Can change pwm period on the PwmOut pin, and also brake high or low.
Fork of Motor by
History
Motor
2014-10-24, by masco [Fri, 24 Oct 2014 11:56:21 +0000] rev 2
Motor
Added functionality to brake high or low.
2010-09-07, by aberk [Tue, 07 Sep 2010 11:21:42 +0000] rev 1
Added functionality to brake high or low.
Added period(...) method to allow the period on the PwmOut pin to be changed.
2010-09-02, by aberk [Thu, 02 Sep 2010 16:32:57 +0000] rev 0
Added period(...) method to allow the period on the PwmOut pin to be changed.