Control the Pololu SMC02B

Revision:
3:8595605248a3
Parent:
2:d14838eb6b4b
Child:
4:420e977e37b6
--- a/SMC02B.h	Mon Oct 11 18:55:43 2010 +0000
+++ b/SMC02B.h	Mon Oct 11 18:58:40 2010 +0000
@@ -54,32 +54,15 @@
 #define SMC02B_MOTOR2_SPEED     0x00
 #define SMC02B_MOTOR2_NUMBER    0x00
 
-class SMC02B {
-
-public:
+/**
+* Pololu Micro Dual Serial Motor Controller.
+*/
 
-    /**
-     * Constructor.
-     *
-     * @param tx mbed pin to use for TX line of Serial interface.
-     * @param rx mbed pin to use for RX line of Serial interface.
-     * @param rst mbed pin to use for RST line.
-     */
+class SMC02B
+{
+public:
     SMC02B(PinName tx, PinName rx, PinName pin);
-    
-    /**
-     * Reset SMC02B.
-     *
-     */    
     void SMC02B_RST(void);
-
-    /**
-     * Set Motor.
-     *
-     * @param motor Motor number.
-     * @param Direction Motor Direction.
-     * @param speed Motor Speed.
-     */
     void SMC02B_MOTOR_SET( char motor, char direction, char speed );
     void SMC02B_MOTOR_BRAKE( char motor );
     void SMC02B_MOTOR_COAST( char motor );