From 604bb61c4a886bba9d5056cfc4cafa541e75316c Mon Sep 17 00:00:00 2001 From: Ikatono Date: Sat, 30 Dec 2023 11:49:17 -0600 Subject: [PATCH] trying to get it to build --- CMakeLists.txt | 2 +- main.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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;