5 Commits

Author SHA1 Message Date
jonny_ji7
e8e1070bd1 Simplify code, Add actual units: TargetPosMm, SpeedMm
- add functions
    setSpeed (mm/s)
    setTargetPosMm

- add macros and function to define and convert variables to actual units
    speed in mm/s instead of unknown
    abs pos in mm instead of steps

- simplyfy isr code
2023-04-25 17:15:09 +02:00
jonny_ji7
63f0da25f1 Fix isr-function (fully functional now), Add task for debug output
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
2023-04-25 14:35:07 +02:00
jonny_l480
c99e71846c Remove unused code, potential bugfix
remove commented out code and unused code from previous approach
addition al check that might fix issue with underflow
2023-04-25 11:39:59 +02:00
jonny_l480
1e2fa1db8f Add basic control task without timer (works, but dropped)
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
2023-04-22 20:47:39 +02:00
jonny_l480
1d53d3467c Stepper driver from scratch, test with buttons - WIP
- 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
2023-04-10 22:28:18 +02:00