a motor driver IC TA7291P
Dependents: ANCHOR_Navigation3 TA7291P TA7291P_2 avoidance_program ... more
Revision 1:2abc17614090, committed 2014-11-13
- Comitter:
- takoyaki
- Date:
- Thu Nov 13 09:04:44 2014 +0000
- Parent:
- 0:90cf2d9c2161
- Commit message:
- a motor driver IC TA7291P
Changed in this revision
ta7291p.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 90cf2d9c2161 -r 2abc17614090 ta7291p.h --- a/ta7291p.h Thu Nov 13 08:45:48 2014 +0000 +++ b/ta7291p.h Thu Nov 13 09:04:44 2014 +0000 @@ -7,6 +7,18 @@ #include "mbed.h" +/** @code + * #include "mbed.h" + * #include "ta7291p.h" + * + * TextLCD motor( p19, p20, p21);// DigitalOut, DijitalOut, PwmOut + * + * int main() { + * motor.rotf( 0.4 ); // + * } + * @endcode + */ + class ta7291p{ protected: DigitalOut _do1, _do2;