Add a couple of examples of using the Max7219 LED driver chip (#209)

This commit is contained in:
James Hughes
2022-05-17 15:35:03 +01:00
committed by GitHub
parent 72e41ad66f
commit 705cd0fbea
7 changed files with 396 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
add_executable(max7219_32x8_spi
max7219_32x8_spi.c
)
# pull in common dependencies and additional spi hardware support
target_link_libraries(max7219_32x8_spi pico_stdlib hardware_spi)
# create map/bin/hex file etc.
pico_add_extra_outputs(max7219_32x8_spi)
# add url via pico_set_program_url
example_auto_set_url(max7219_32x8_spi)