motor drive libary to use speed control, coasting and dynamic braking. NOTE, dynamic braking my result in large currents. this may or may not set the motor driver on fire/break it/other undesired effects. so read the data sheet folks.
Fork of Motordriver by
History
Changed PWM period to be 20kHz;
2018-07-13, by apriljunio [Fri, 13 Jul 2018 19:57:27 +0000] rev 6
Changed PWM period to be 20kHz;
set the stop function to coast if not able to dynamicaly brake.
2010-11-25, by littlexc [Thu, 25 Nov 2010 13:34:15 +0000] rev 5
set the stop function to coast if not able to dynamicaly brake.
added a state function that returns the state of the motordriver(what is been written to it)
2010-11-25, by littlexc [Thu, 25 Nov 2010 13:31:22 +0000] rev 4
added a state function that returns the state of the motordriver(what is been written to it)
2010-11-19, by littlexc [Fri, 19 Nov 2010 12:33:38 +0000] rev 3
allows more control over the motordriver. returns duty on pmw line
2010-11-19, by littlexc [Fri, 19 Nov 2010 12:32:06 +0000] rev 2
allows more control over the motordriver. returns duty on pmw line
this libary prevents throwing the motor from full foward to full reverse. to change direction, the motor must first come to a full stop, ie, coast, break or set speed to = 0.
2010-11-11, by littlexc [Thu, 11 Nov 2010 15:32:55 +0000] rev 1
this libary prevents throwing the motor from full foward to full reverse. to change direction, the motor must first come to a full stop, ie, coast, break or set speed to = 0.
V1.0
2010-11-06, by littlexc [Sat, 06 Nov 2010 13:05:17 +0000] rev 0
V1.0