Interrupt driven PWM motor controller. Let the interrupt update the PWM leaving your main program free for other tasks. The acceleration (ramp up) and deceleration (ramp down) between zero power and full power can be set from 0 to 120 seconds. To clarify, if the current power is 50% then to get to full power will take only half the ramp up time because it is already half way there. This is also true for the ramp down value. the duty cycle can be set between 1 ms and 200 ms. The target power is specified as a percentage from 0 to 100. Its not an exact science so these figures are approximate. This library is free to use and modify. I accept no liability for malfunctions or damage caused by this software. I hope it is of use to the community and show how to implement a useful ticker function to perform time triggered updates. Enjoy

Auto generated API documentation and code listings for i_moto

Code

i_moto.cpp [code]
i_moto.h [code]