upm  0.2.0
Sensor/Actuator repository for libmraa (v0.6.1)
Data Structures | Enumerations

UPM module for the Grove I2C Motor Driver. More...

Collaboration diagram for libupm-grovemd:

Data Structures

class  GroveMD
 C++ API for the Grove I2C Motor Driver. More...
 

Enumerations

enum  REG_T {
  SET_SPEED = 0x82, SET_PWM_FREQ = 0x84, SET_DIRECTION = 0xaa, SET_MOTOR_A = 0xa1,
  SET_MOTOR_B = 0xa5, STEPPER_ENABLE = 0x1a, STEPPER_DISABLE = 0x1b, STEPPER_NUM_STEPS = 0x1c
}
 
enum  STEP_DIRECTION_T { STEP_DIR_CCW = 0x0a, STEP_DIR_CW = 0x05 }
 
enum  DC_DIRECTION_T { DIR_CCW = 0x02, DIR_CW = 0x01 }
 

Detailed Description