Stepper update

This commit is contained in:
shrkey
2016-10-10 21:25:09 +01:00
parent d66368af15
commit 51004e9d4d
2 changed files with 22 additions and 4 deletions

View File

@@ -328,6 +328,24 @@ void DW640::setServoPWMuS(uint8_t servo, float length_uS) {
}
/* Stepper functions */
void DW640::setStepperOff(uint8_t stepper) {
}
void DW640::setStepperSpeed(uint8_t stepper, uint16_t speed) {
}
void DW640::oneStep(uint8_t stepper, uint8_t direction, uint8_t style) {
}
void DW640::step(uint8_t stepper, uint16_t steps, uint8_t direction, uint8_t style) {
}
/* Private functions */
uint16_t DW640::map(uint16_t x, uint16_t in_min, uint16_t in_max, uint16_t out_min, uint16_t out_max)