Lines Matching refs:writePacket
65 writePacket(SET_DIRECTION, 0, GROVEMD_NOOP); in ~GroveMD()
68 bool GroveMD::writePacket(REG_T reg, uint8_t data1, uint8_t data2) in writePacket() function in GroveMD
95 return writePacket(SET_SPEED, speedA, speedB); in setMotorSpeeds()
100 return writePacket(SET_PWM_FREQ, freq, GROVEMD_NOOP); in setPWMFrequencyPrescale()
106 return writePacket(SET_DIRECTION, dir, GROVEMD_NOOP); in setMotorDirections()
113 return writePacket(STEPPER_ENABLE, dir, speed); in enableStepper()
155 return writePacket(STEPPER_DISABLE, GROVEMD_NOOP, GROVEMD_NOOP); in disableStepper()
158 writePacket(SET_DIRECTION, 0, GROVEMD_NOOP); in disableStepper()
174 return writePacket(STEPPER_NUM_STEPS, steps, GROVEMD_NOOP); in setStepperSteps()
232 writePacket(SET_DIRECTION, 0b0101, GROVEMD_NOOP); in stepperStep()
235 writePacket(SET_DIRECTION, 0b0110, GROVEMD_NOOP); in stepperStep()
238 writePacket(SET_DIRECTION, 0b1010, GROVEMD_NOOP); in stepperStep()
241 writePacket(SET_DIRECTION, 0b1001, GROVEMD_NOOP); in stepperStep()