AVGG

Dependencies:   mbed

Fork of 7_7Boboobooo by 譯文 張

motor_api.h

Committer:
physicsgood
Date:
2014-07-10
Revision:
15:7f21c08be164
Parent:
1:82bc25a7b68b

File content as of revision 15:7f21c08be164:

#include "mbed.h"


class BX_motor{
    
    public:
    
       BX_motor(char type);
       
    
    
       void rotate(float level);
       
       
       
    private:
    
      float Level;
       
      char Type;
      
      PwmOut* forward_A;
      PwmOut* backward_A;

      PwmOut* forward_B;
      PwmOut* backward_B;


      DigitalOut* engine_enable;

    
    
    };