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
buat jaswin
2018-11-05, by sarlilouis [Mon, 05 Nov 2018 14:27:39 +0000] rev 2
buat jaswin
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.