upm  0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
Data Structures | Enumerations

Grove I2C Motor Driver library. More...

Data Structures

class  GroveMD
 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 = 0x01, STEP_DIR_CW = 0x00 }
 
enum  DC_DIRECTION_T { DIR_CCW = 0x02, DIR_CW = 0x01 }
 
enum  STEP_MODE_T { STEP_MODE1 = 0x00, STEP_MODE2 = 0x01 }
 

Detailed Description

Collaboration diagram for libupm-grovemd: