new driver works well while testing with one button with debug output
- small changes to isr function that made it fully functional!
- add stepper debug task
- minor optimizations necessary
Partially implemented stepper driver as planned in diagram
works partially (reset button toggles distances)
major issues though - wip
needs debugging and testing
basic task for controlling the stepper
(no accel / decel etc)
works at current speed settings but long moves trigger watchdog
so dropped this idea and using timer as before
Some adjustments to make it work
- fix direction change (temporary)
- fix isr initial start
See notes in stepper.cpp
Todo:
- fix crash after accelerating
- add initial speed (takes long to accelerate from 0
-
- Add stepper driver code from scratch
- Remove / comment out code that used DendoStepper library
- Test custom driver with buttons (guide-stepper.cpp)
untested limited features