pimoroni-pico/examples/motor2040/motor2040_position_tuning.c...

15 lines
318 B
CMake
Raw Normal View History

set(OUTPUT_NAME motor2040_position_tuning)
add_executable(${OUTPUT_NAME} motor2040_position_tuning.cpp)
target_link_libraries(${OUTPUT_NAME}
pico_stdlib
motor2040
button
pid
)
# enable usb output
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_add_extra_outputs(${OUTPUT_NAME})