Tripple Controller for the TLE5206 H Bridge motor controller
Diff: inc/example1.h
- Revision:
- 3:b7d951c6f551
- Parent:
- 2:c5fbe0cb8a97
- Child:
- 4:d69f22061c03
--- a/inc/example1.h Tue Jul 05 13:50:45 2011 +0000 +++ b/inc/example1.h Tue Jul 05 14:27:56 2011 +0000 @@ -30,7 +30,7 @@ #define DUTY_CYCLE_IN_HERTZ 50 -// Create a motor "A", driven by a TLE5206 on pins 21 and 22. +// Create a motor "A", driven by a TLE5206 on pins 21 and 22 (attach scope first, not a motor!) SimpleTLE5206Output Ain1(p21); // TLE5206 In1 is connected to p21 SimpleTLE5206Output Ain2(p22); // TLE5206 In2 is connected to p22 SimpleTLE5206 motorA(&Ain1, &Ain2, DUTY_CYCLE_IN_HERTZ); // Create the TLE5206 controller. @@ -100,7 +100,7 @@ C.attach(Ccallback, 0.0025); while(1) { - /* The main loop has little to do as the Ticker cakkbacks + /* The main loop has little to do as the Ticker callbacks set-up the speed changes for the example. So give it something to do. Maybe change this and use the spare time to calculate PI more accurately? Lol, just kidding. */