pimoroni-pico/examples/encoder/encoder_read_speed.cmake

13 wiersze
275 B
CMake

set(OUTPUT_NAME encoder_read_speed)
add_executable(${OUTPUT_NAME} encoder_read_speed.cpp)
target_link_libraries(${OUTPUT_NAME}
pico_stdlib
encoder
)
# enable usb output
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_add_extra_outputs(${OUTPUT_NAME})