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
|6:415f0e127063||2018-07-13||apriljunio||Changed PWM period to be 20kHz;|
|5:3110b9209d3c||2010-11-25||littlexc||set the stop function to coast if not able to dynamicaly brake.|
|4:5fb1296c0d60||2010-11-25||littlexc||added a state function that returns the state of the motordriver(what is been written to it)|
|2:2dc873322032||2010-11-19||littlexc||allows more control over the motordriver. returns duty on pmw line|
|1:3da7302dc9ae||2010-11-11||littlexc||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.|