Working WS2812 led.
This commit is contained in:
parent
3f0c09c0a9
commit
d98c72cb9f
4 changed files with 59 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
#set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
set(SOURCES
|
||||
ws2812.cpp
|
||||
abfall.cpp
|
||||
)
|
||||
|
||||
|
@ -30,6 +31,8 @@ set_target_properties(${CMAKE_PROJECT_NAME}
|
|||
CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
|
||||
)
|
||||
|
||||
pico_generate_pio_header(${CMAKE_PROJECT_NAME} ${CMAKE_CURRENT_LIST_DIR}/ws2812.pio)
|
||||
|
||||
pico_enable_stdio_uart(${CMAKE_PROJECT_NAME} 1)
|
||||
pico_enable_stdio_usb(${CMAKE_PROJECT_NAME} 0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue