2021-02-10 16:26:18 +00:00
|
|
|
add_executable(
|
2022-05-29 13:42:31 +00:00
|
|
|
pico_explorer_encoder
|
|
|
|
pico_explorer_encoder.cpp
|
2021-02-10 16:26:18 +00:00
|
|
|
)
|
|
|
|
|
2022-05-29 13:42:31 +00:00
|
|
|
pico_generate_pio_header(pico_explorer_encoder ${CMAKE_CURRENT_LIST_DIR}/quadrature_out.pio)
|
2021-02-10 16:26:18 +00:00
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
2022-06-07 18:02:30 +00:00
|
|
|
target_link_libraries(pico_explorer_encoder pico_stdlib pico_explorer encoder button motor pico_graphics st7789)
|
2021-02-10 16:26:18 +00:00
|
|
|
|
|
|
|
# create map/bin/hex file etc.
|
2022-05-29 13:42:31 +00:00
|
|
|
pico_add_extra_outputs(pico_explorer_encoder)
|