shutdown:
- add functions to read/write last encoder steps from nvs
- store encoder steps at shutdown
guide:
- add function to calculate layer count from cable length
- read last encoder-steps at startup
- if length >2m calculate layers, dont home
- home at move-to-zero when not done at startup
encoder library:
- add function to set encoder steps
control:
- read last encoder-steps at startup
- apply last steps if >2m
shutdown.cpp/hpp:
- repeatedly check supply voltage
- save value to nvs when dropping below threshold
- provide function to read lastPos from nvs
guide-stepper:
- auto-home considers stored last position in nvs
main:
- add new task shutDownDetection
config:
- slightly increase stepper speed