Add 74HC595 / LED port expander test

This commit is contained in:
2023-03-19 18:38:07 +01:00
parent 959699c1d3
commit 3e2decfab3
3 changed files with 119 additions and 0 deletions

View File

@@ -21,3 +21,11 @@ target_include_directories(rp2040_hid PRIVATE src)
# create map/bin/hex/uf2 file in addition to ELF.
pico_add_extra_outputs(rp2040_hid)
add_executable(ledtest
src/ledtest.c
)
pico_generate_pio_header(ledtest ${CMAKE_CURRENT_LIST_DIR}/src/ledtest.pio)
target_link_libraries(ledtest pico_stdlib hardware_pio)
pico_add_extra_outputs(ledtest)