3 Commits

Author SHA1 Message Date
jonny_l480
9dfca6f6c3 Fix ENCODER_TEST, Calibrate length measurement
config:
    - calibrate length measurement

control:
    - Fix ENCODER_TEST
        - syntax error
        - Add beep at 0.5m
2024-03-13 14:56:27 +01:00
jonny
1dd8388769 Add task shutDownDetection, save last pos to nvs, optimize auto-home
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
2024-03-12 23:58:15 +01:00
jonny
4aab1e1343 Outsource global variables, Optimize comments
- outsource global variables and objects
    - move from config.hpp to global.cpp / hpp
    - rename config.hpp, thus change all includes
- re-arrange includes -> in source files instead of header

- optimize / make function comment titles more consistent
- optimize comments overall

- add several temporary files to gitignore
- fix unused variable compiler warnings
2024-03-10 12:55:13 +01:00