15 lines
330 B
CMake
15 lines
330 B
CMake
set(OUTPUT_NAME plasma_stick_encoder)
|
|
add_executable(${OUTPUT_NAME} plasma_stick_encoder.cpp)
|
|
|
|
target_link_libraries(${OUTPUT_NAME}
|
|
pico_stdlib
|
|
plasma_stick
|
|
breakout_encoder
|
|
pimoroni_i2c
|
|
)
|
|
|
|
# enable usb output
|
|
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
|
|
|
|
pico_add_extra_outputs(${OUTPUT_NAME})
|