Tripple Controller for the TLE5206 H Bridge motor controller
Diff: inc/example1.h
- Revision:
- 5:bfc5c5cc161e
- Parent:
- 4:d69f22061c03
--- a/inc/example1.h Tue Jul 05 14:55:29 2011 +0000 +++ b/inc/example1.h Tue Jul 05 16:08:38 2011 +0000 @@ -6,7 +6,7 @@ * Mode 2 Sign/Magnitude Control using two PWM outputs to * control speed and direction. * - * Pins that be be used are p21, p22, p23, p24, p25 and/or p26 + * Pins that can be used are p21, p22, p23, p24, p25 and/or p26 * in pairs. So the library supports upto 3 TLE5206 devices/motors. * * All PWM outputs use a common duty cycle. Therefore the third arg @@ -86,10 +86,11 @@ // a high update rate (0.025) assuming you are attaching // an oscilloscope just for testing. It goes without saying // that the update rates for B and C are way to big, I just - // choose these (0.005 and 0.0025) because it looks nice + // choose these (0.005 and 0.0025) because it looks pretty // when used on LEDs! // Always use appropriate accel/decel rates when handling - // motors/external hardware that moves. + // motors/external hardware that moves. See example2.h for + // a simple linear accel/decel profiler that does this. A.attach(Acallback, 0.025); B.attach(Bcallback, 0.005);