- sometimes deadlock at direction change
waits for idle state in runAbs
function, but stepper is not really moving anymore ISR does not change
to idle or state changed afterwards?
- every EXTEND operation results in a motor stop thus when extending
alot is stopped only ramping up and down
when encoder stop after several extend attempts
the stepper moves all the remaining steps successfully
stepsRemaining not necessary in ISR
comment out forced stop at runAbs
statusPrev not needed
TODO: ISR defines state every time, no need to adjust manually while running
adjust calc function to handle remaining steps
Test: broken - slow moves mork but when "extending" movement it just
vibrates
evaluatedSwitch component:
- remove duplicate code for inverted and non-inverted mode
- add new constructor for instance with a function to obtain current
input state instead of gpio pin (e.g. needed for 4switches on analog input)
Fix bug in display library where random chars were written to display even
though the array has ended.
Resulting in random character appearing briefly when only first display got written.
-> stop loop when 0-termination of char array is reached
Add config.cpp/hpp
- macros for all input and output pins
- gloabl evaluated switch objects
- buzzer object
- display config
- encoder config
Move main.c to main.cpp and adjust code to be c++ compatible
add custom library evaluated switch (copied from armchair project)
add buzzer object (copied from armchair project)
add control.cpp/hpp with control task (no function yet)