remove commented out code and unused code from previous approach addition al check that might fix issue with underflow
10 lines
241 B
C++
10 lines
241 B
C++
#pragma once
|
|
|
|
//init stepper pins and timer
|
|
void stepper_init();
|
|
void stepper_setTargetSteps(int steps);
|
|
|
|
//control stepper without timer (software)
|
|
void task_stepperCtrlSw(void *pvParameter);
|
|
void stepperSw_setTargetSteps(uint64_t target);
|