Home
last modified time | relevance | path

Searched refs:m_pca9685 (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/adafruitms1438/
Dadafruitms1438.cxx37 m_pca9685(new PCA9685(bus, address)) in AdafruitMS1438()
52 m_pca9685->ledOnTime(PCA9685_ALL_LED, 0); in AdafruitMS1438()
61 delete m_pca9685; in ~AdafruitMS1438()
118 m_pca9685->setModeSleep(true); in setPWMPeriod()
119 m_pca9685->setPrescaleFromHz(hz); in setPWMPeriod()
120 m_pca9685->setModeSleep(false); in setPWMPeriod()
125 m_pca9685->ledFullOff(m_dcMotors[motor].pwm, false); in enableMotor()
130 m_pca9685->ledFullOff(m_dcMotors[motor].pwm, true); in disableMotor()
135 m_pca9685->ledFullOff(m_stepMotors[motor].pwmA, false); in enableStepper()
136 m_pca9685->ledFullOff(m_stepMotors[motor].pwmB, false); in enableStepper()
[all …]
Dadafruitms1438.h247 PCA9685 *m_pca9685; variable