To be able to use the encoder in future stepper task as well - make certain variables global - initialize encoder in main - outsorce encoder functions in encoder.cpp / h - adjust config
16 lines
293 B
CMake
16 lines
293 B
CMake
idf_component_register(
|
|
SRCS
|
|
"main.cpp"
|
|
"config.cpp"
|
|
"control.cpp"
|
|
"buzzer.cpp"
|
|
"vfd.cpp"
|
|
"display.cpp"
|
|
"cutter.cpp"
|
|
"switchesAnalog.cpp"
|
|
"guide-stepper.cpp"
|
|
"encoder.cpp"
|
|
INCLUDE_DIRS
|
|
"."
|
|
)
|