31 #include <mraa/gpio.h>    33 #include "pca9685.hpp"    35 #define ADAFRUITMS1438_I2C_BUS 0    36 #define ADAFRUITMS1438_DEFAULT_I2C_ADDR 0x60   105     AdafruitMS1438(
int bus, uint8_t address = ADAFRUITMS1438_DEFAULT_I2C_ADDR);
   241       struct timeval startTime; 
   247     DC_PINMAP_T m_dcMotors[4];
   248     STEPPER_PINMAP_T m_stepMotors[2];
   249     STEPPER_CONFIG_T m_stepConfig[2];
 void setStepperDirection(STEPMOTORS_T motor, DIRECTION_T dir)
Definition: adafruitms1438.cxx:194
 
void disableMotor(DCMOTORS_T motor)
Definition: adafruitms1438.cxx:128
 
uint32_t getMillis(STEPMOTORS_T motor)
Definition: adafruitms1438.cxx:69
 
void setStepperSpeed(STEPMOTORS_T motor, int speed)
Definition: adafruitms1438.cxx:163
 
void enableMotor(DCMOTORS_T motor)
Definition: adafruitms1438.cxx:123
 
void disableStepper(STEPMOTORS_T motor)
Definition: adafruitms1438.cxx:139
 
API for the AdafruitMS1438 Motor Shield. 
Definition: adafruitms1438.hpp:69
 
void stepperSteps(STEPMOTORS_T motor, unsigned int steps)
Definition: adafruitms1438.cxx:281
 
AdafruitMS1438(int bus, uint8_t address=ADAFRUITMS1438_DEFAULT_I2C_ADDR)
Definition: adafruitms1438.cxx:36
 
C++ API wrapper for the bh1749 driver. 
Definition: a110x.hpp:29
 
STEPMOTORS_T
Definition: adafruitms1438.hpp:94
 
API for the PCA9685 16-channel, 12-bit PWM LED Controller. 
Definition: pca9685.hpp:66
 
void setMotorDirection(DCMOTORS_T motor, DIRECTION_T dir)
Definition: adafruitms1438.cxx:169
 
~AdafruitMS1438()
Definition: adafruitms1438.cxx:59
 
DCMOTORS_T
Definition: adafruitms1438.hpp:84
 
void setMotorSpeed(DCMOTORS_T motor, int speed)
Definition: adafruitms1438.cxx:145
 
void stepConfig(STEPMOTORS_T motor, unsigned int stepsPerRev)
Definition: adafruitms1438.cxx:210
 
void enableStepper(STEPMOTORS_T motor)
Definition: adafruitms1438.cxx:133
 
void setPWMPeriod(float hz)
Definition: adafruitms1438.cxx:115
 
void initClock(STEPMOTORS_T motor)
Definition: adafruitms1438.cxx:64
 
DIRECTION_T
Definition: adafruitms1438.hpp:75