diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a92ec3..521dd99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,7 @@ add_executable(threeam) pico_sdk_init() -#pico_generate_pio_header(threeam ${CMAKE_CURRENT_LIST_DIR}/Neopixel.pio) +pico_generate_pio_header(threeam ${CMAKE_CURRENT_LIST_DIR}/Neopixel.pio) target_sources(threeam PRIVATE main.cpp diff --git a/main.cpp b/main.cpp index b7aea5d..269ecef 100644 --- a/main.cpp +++ b/main.cpp @@ -1,11 +1,12 @@ #include #include "pico/stdlib.h" -#include "pico/cyw43_arch.h" +//#include "pico/cyw43_arch.h" #include "Neopixel.pio.h" #include #include "colors.hpp" #include "hardware/pio.h" #include "hardware/clocks.h" +#include constexpr uint8_t WS2812_PIN = 22;